[gtk-mac-integration] Fix some Gtk2 errors
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-mac-integration] Fix some Gtk2 errors
- Date: Thu, 1 Nov 2012 21:07:13 +0000 (UTC)
commit 256ada20231858abd501f366593f3891c9cfb591
Author: John Ralls <jralls ceridwen us>
Date: Mon Oct 29 11:52:52 2012 -0700
Fix some Gtk2 errors
.../gtkosx_application/gtkosx_application.override | 6 +++---
src/gtkosxapplication.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/bindings/python/gtkosx_application/gtkosx_application.override b/bindings/python/gtkosx_application/gtkosx_application.override
index 89b31d5..b84aff3 100644
--- a/bindings/python/gtkosx_application/gtkosx_application.override
+++ b/bindings/python/gtkosx_application/gtkosx_application.override
@@ -25,7 +25,7 @@ _wrap_gtkosx_application_add_app_menu_group (PyGObject *self)
GtkOSXApplicationMenuGroup *group;
PyObject *ret;
- group = gtkosx_application_add_app_menu_group (GTKOSX__APPLICATION(self->obj));
+ group = gtkosx_application_add_app_menu_group (GTKOSX_APPLICATION(self->obj));
ret = PyCObject_FromVoidPtr ((void *) group, NULL);
@@ -52,7 +52,7 @@ _wrap_gtkosx_application_add_app_menu_item (PyGObject *self, PyObject *args, PyO
group = PyCObject_AsVoidPtr (pygroup);
item = GTK_MENU_ITEM (pygobject_get (pyitem));
g_return_val_if_fail(group != NULL, Py_None);
- gtkosx_application_add_app_menu_item (GTKOSX__APPLICATION(self->obj), group, item);
+ gtkosx_application_add_app_menu_item (GTKOSX_APPLICATION(self->obj), group, item);
return Py_None;
}
%%
@@ -72,7 +72,7 @@ _wrap_gtkosx_application_insert_app_menu_item (PyGObject *self, PyObject *args,
Py_INCREF (Py_None);
item = GTK_WIDGET (pygobject_get (pyitem));
- gtkosx_application_insert_app_menu_item (GTKOSX__APPLICATION(self->obj), item, index);
+ gtkosx_application_insert_app_menu_item (GTKOSX_APPLICATION(self->obj), item, index);
return Py_None;
}
%%
diff --git a/src/gtkosxapplication.h b/src/gtkosxapplication.h
index ba024f7..66bc657 100644
--- a/src/gtkosxapplication.h
+++ b/src/gtkosxapplication.h
@@ -91,7 +91,7 @@ typedef enum {
} GtkosxApplicationAttentionType;
/*To satisfy h2defs.py */
-// #define GTKOSX_TYPE_APPLICATION_ATTENTION_TYPE (gtkosx_type_application_attention_type_get_type())
+#define GTKOSX_TYPE_APPLICATION_ATTENTION_TYPE (gtkosx_type_application_attention_type_get_type())
// GType gtkosx_type_application_attention_type_get_type(void);
void gtkosx_application_set_dock_menu(GtkosxApplication *self,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]