[gnome-applets/wip/segeiger/window-picker-in-process] windowpicker/applet.c: Fix deprecation message for close icon



commit c36e87a531b591771014ea2d5295e8bfea5c00ec
Author: Sebastian Geiger <sbastig gmx net>
Date:   Sun Jun 7 20:31:53 2015 +0200

    windowpicker/applet.c: Fix deprecation message for close icon

 windowpicker/src/applet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/windowpicker/src/applet.c b/windowpicker/src/applet.c
index 6b4a062..e8253d8 100644
--- a/windowpicker/src/applet.c
+++ b/windowpicker/src/applet.c
@@ -276,7 +276,7 @@ display_prefs_dialog (GSimpleAction *action,
     check = prepareCheckBox (windowPickerApplet, _("Automatically expand task list to use full space"), 
KEY_EXPAND_TASK_LIST);
     gtk_grid_attach (GTK_GRID (grid), check, 0, ++i, 1, 1);
 
-    button = gtk_button_new_from_stock (GTK_STOCK_CLOSE);
+    button = gtk_button_new_with_label ("close");
     gtk_widget_set_halign (button, GTK_ALIGN_END);
     gtk_grid_set_row_spacing (GTK_GRID (grid), 0);
     gtk_grid_attach (GTK_GRID(grid), button, 0, ++i, 1, 1);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]