Browse Source

Migrated deprecated funtion gtk_button_new_from_stock to gtk_button_new_with_label

Héctor García 9 years ago
parent
commit
336fc90584
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mssh-pref.c

+ 1 - 1
src/mssh-pref.c

@@ -258,7 +258,7 @@ static void mssh_pref_init(MSSHPref* pref)
     GtkWidget *mod_super_check = gtk_check_button_new_with_label("Super");
 
     GtkWidget *close_hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
-    GtkWidget *close_button = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
+    GtkWidget *close_button = gtk_button_new_with_label("Close");
 
     GtkWidget *dir_focus_check = gtk_check_button_new_with_label(
         "Use directional focus");