fix bug #4023, 'Fix some small issues'
[claws.git] / src / toolbar.c
index 6212927de09d62cecf421785c331ba52cf88af49..823a89401287266d49ee636eb6c67c536f06c2be 100644 (file)
@@ -2203,6 +2203,7 @@ static void toolbar_buttons_cb(GtkWidget   *widget,
        gtk_widget_show(item);                                                          \
 }
 
+#ifndef GENERIC_UMPC
 static void toolbar_reply_menu_cb(GtkWidget *widget, gpointer data)
 {
        gpointer int_value = g_object_get_data(G_OBJECT(widget), "int-value");
@@ -2211,22 +2212,24 @@ static void toolbar_reply_menu_cb(GtkWidget *widget, gpointer data)
        toolbar_reply(toolbar_item, GPOINTER_TO_INT(int_value));
 }
 
-static void toolbar_learn_menu_cb(GtkWidget *widget, gpointer data)
+static void toolbar_delete_dup_menu_cb(GtkWidget *widget, gpointer data)
 {
        gpointer int_value = g_object_get_data(G_OBJECT(widget), "int-value");
        ToolbarItem *toolbar_item = (ToolbarItem *)data;
        
-       toolbar_learn(toolbar_item, GPOINTER_TO_INT(int_value));
+       toolbar_delete_dup(toolbar_item, GPOINTER_TO_INT(int_value));
 }
+#endif
 
-static void toolbar_delete_dup_menu_cb(GtkWidget *widget, gpointer data)
+static void toolbar_learn_menu_cb(GtkWidget *widget, gpointer data)
 {
        gpointer int_value = g_object_get_data(G_OBJECT(widget), "int-value");
        ToolbarItem *toolbar_item = (ToolbarItem *)data;
-       
-       toolbar_delete_dup(toolbar_item, GPOINTER_TO_INT(int_value));
+
+       toolbar_learn(toolbar_item, GPOINTER_TO_INT(int_value));
 }
 
+
 /**
  * Create a new toolbar with specified type
  * if a callback list is passed it will be used before the