diff options
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/easygtk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtkext/easygtk.c b/src/gtkext/easygtk.c index 61e8953..77b29bd 100644 --- a/src/gtkext/easygtk.c +++ b/src/gtkext/easygtk.c @@ -434,7 +434,7 @@ static void _finish_button_with_img(GtkWidget *button, GObject *object, const ch if (picture != NULL && label != NULL) { - hbox = gtk_hbox_new(FALSE, 2); + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); gtk_widget_show(hbox); gtk_container_add(GTK_CONTAINER(button), hbox); @@ -932,7 +932,7 @@ void add_accelerator_to_menu_item(GtkWidget *item, const char *accelerator, GtkA return TRUE; } - g_signal_connect(item, "can-activate-accel", force_accel_activation, NULL); + g_signal_connect(item, "can-activate-accel", G_CALLBACK(force_accel_activation), NULL); gtk_widget_add_accelerator(item, "activate", group, key, mods, GTK_ACCEL_VISIBLE); |