Преглед на файлове

Changed deprecated functions

Héctor García преди 10 години
родител
ревизия
3ddb46f10d
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      src/mssh-window.c

+ 4 - 4
src/mssh-window.c

@@ -475,15 +475,15 @@ static void mssh_window_init(MSSHWindow* window)
     GtkWidget *server_item = gtk_menu_item_new_with_label("Servers");
     GtkWidget *command_item = gtk_menu_item_new_with_label("Commands");
 
-    GtkWidget *file_quit = gtk_image_menu_item_new_from_stock(
-        GTK_STOCK_QUIT, NULL);
+    GtkWidget *file_quit = gtk_image_menu_item_new_with_label(
+        "Quit");
     GtkWidget *file_sendhost = gtk_image_menu_item_new_with_label(
         "Send hostname");
     GtkWidget *file_add = gtk_menu_item_new_with_label(
         "Add session");
 
-    GtkWidget *edit_pref = gtk_image_menu_item_new_from_stock(
-        GTK_STOCK_PREFERENCES, NULL);
+    GtkWidget *edit_pref = gtk_image_menu_item_new_with_label(
+        "Edit");
 
     GtkAccelGroup *accel = gtk_accel_group_new();