Explorar el Código

Changed gtk_button_new_from_stock to gtk_button_new_with_label

Héctor García hace 10 años
padre
commit
a650a623d3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/mssh-pref.c

+ 1 - 1
src/mssh-pref.c

@@ -261,7 +261,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"));