1
0
Эх сурвалжийг харах

Migrated deprecated funtion gtk_image_menu_item_new_with_label to gtk_menu_item_new_with_label

Héctor García 10 жил өмнө
parent
commit
f70a93549e
1 өөрчлөгдсөн 2 нэмэгдсэн , 4 устгасан
  1. 2 4
      src/mssh-window.c

+ 2 - 4
src/mssh-window.c

@@ -476,10 +476,8 @@ static void mssh_window_init(MSSHWindow* window)
     GtkWidget *command_item = gtk_menu_item_new_with_label("Commands");
 
     GtkWidget *file_quit = gtk_menu_item_new_with_mnemonic("_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 *file_sendhost = gtk_menu_item_new_with_label("Send hostname");
+    GtkWidget *file_add = gtk_menu_item_new_with_label("Add session");
 
     GtkWidget *edit_pref = gtk_menu_item_new_with_mnemonic("_Preferences");