Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Fri, 19 Aug 2016 19:39:48 UTC Commit: 29bffe6923b803ce4559a032b51e1b1f14ca8519 https://github.com/geany/geany/commit/29bffe6923b803ce4559a032b51e1b1f14ca85...
Log Message: ----------- Deprecate ui_frame_new_with_alignment()
It has no usage inside Geany itself, had a bug in handling of markup in the label, has only one user in Geany-Plugins, and is fairly easy to reproduce.
Modified Paths: -------------- src/ui_utils.c src/ui_utils.h
Modified: src/ui_utils.c 2 lines changed, 2 insertions(+), 0 deletions(-) =================================================================== @@ -1462,6 +1462,8 @@ void ui_update_view_editor_menu_items(void) * * @return @transfer{floating} The frame widget, setting the alignment container for * packing child widgets. + * + * @deprecated 1.29: Use GTK API directly **/ GEANY_API_SYMBOL GtkWidget *ui_frame_new_with_alignment(const gchar *label_text, GtkWidget **alignment)
Modified: src/ui_utils.h 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -101,8 +101,6 @@ GeanyMainWidgets;
GtkWidget *ui_dialog_vbox_new(GtkDialog *dialog);
-GtkWidget *ui_frame_new_with_alignment(const gchar *label_text, GtkWidget **alignment); - void ui_set_statusbar(gboolean log, const gchar *format, ...) G_GNUC_PRINTF (2, 3);
void ui_table_add_row(GtkTable *table, gint row, ...) G_GNUC_NULL_TERMINATED; @@ -143,6 +141,8 @@ void ui_tree_view_set_tooltip_text_column(GtkTreeView *tree_view, gint column);
#ifndef GEANY_DISABLE_DEPRECATED +GtkWidget *ui_frame_new_with_alignment(const gchar *label_text, GtkWidget **alignment) GEANY_DEPRECATED; + void ui_widget_set_tooltip_text(GtkWidget *widget, const gchar *text) GEANY_DEPRECATED_FOR(gtk_widget_set_tooltip_text); #endif /* GEANY_DISABLE_DEPRECATED */
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).