瀏覽代碼

Migrated deprecated funtion gtk_image_menu_item_new_with_label to gtk_menu_item_new_with_label

Héctor García 10 年之前
父節點
當前提交
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");