2001-12-15 07:52:45 +01:00
|
|
|
--- midimountain/glade_interface.cpp.orig Mon Oct 29 10:42:25 2001
|
|
|
|
+++ midimountain/glade_interface.cpp Sat Dec 15 13:59:02 2001
|
2001-08-05 19:05:11 +02:00
|
|
|
@@ -10,6 +10,7 @@
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <string.h>
|
|
|
|
+#include <assert.h>
|
|
|
|
|
|
|
|
#include <gdk/gdkkeysyms.h>
|
|
|
|
#include <gtk/gtk.h>
|
2001-12-15 07:52:45 +01:00
|
|
|
@@ -17,6 +18,22 @@
|
|
|
|
#include "glade_callbacks.h"
|
2001-08-05 19:05:11 +02:00
|
|
|
#include "glade_interface.h"
|
2001-12-15 07:52:45 +01:00
|
|
|
#include "../midimountain/glade_support.h"
|
|
|
|
+
|
2001-08-05 19:05:11 +02:00
|
|
|
+void gtk_widget_add_accelerator (GtkWidget *widget,
|
|
|
|
+ const gchar *accel_signal,
|
|
|
|
+ GtkAccelGroup *accel_group,
|
|
|
|
+ guint accel_key,
|
|
|
|
+ guint accel_mods,
|
|
|
|
+ int accel_flags)
|
|
|
|
+{
|
|
|
|
+ assert(0 <= accel_flags && accel_flags <= 8);
|
|
|
|
+ gtk_widget_add_accelerator(widget,
|
|
|
|
+ accel_signal,
|
|
|
|
+ accel_group,
|
|
|
|
+ accel_key,
|
|
|
|
+ accel_mods,
|
|
|
|
+ (GtkAccelFlags)accel_flags);
|
|
|
|
+}
|
2001-12-15 07:52:45 +01:00
|
|
|
|
2001-08-05 19:05:11 +02:00
|
|
|
GtkWidget*
|
|
|
|
create_wndMain (void)
|