[gimp/gtk3-port: 52/130] app: get rid of GtkObject and s/GDK_F1/GDK_KEY_F1/
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 52/130] app: get rid of GtkObject and s/GDK_F1/GDK_KEY_F1/
- Date: Sun, 14 Nov 2010 22:07:36 +0000 (UTC)
commit 1b7778d97e8e88e17124d270d5a57a722e0d5144
Author: Michael Natterer <mitch gimp org>
Date: Fri Oct 15 16:09:32 2010 +0200
app: get rid of GtkObject and s/GDK_F1/GDK_KEY_F1/
app/widgets/gimpuimanager.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/widgets/gimpuimanager.c b/app/widgets/gimpuimanager.c
index 65737a7..89331e8 100644
--- a/app/widgets/gimpuimanager.c
+++ b/app/widgets/gimpuimanager.c
@@ -99,7 +99,7 @@ static void gimp_ui_manager_menu_pos (GtkMenu *menu,
gint *y,
gboolean *push_in,
gpointer data);
-static void gimp_ui_manager_delete_popdown_data (GtkObject *object,
+static void gimp_ui_manager_delete_popdown_data (GObject *object,
GimpUIManager *manager);
static void gimp_ui_manager_item_realize (GtkWidget *widget,
GimpUIManager *manager);
@@ -866,7 +866,7 @@ gimp_ui_manager_menu_pos (GtkMenu *menu,
}
static void
-gimp_ui_manager_delete_popdown_data (GtkObject *object,
+gimp_ui_manager_delete_popdown_data (GObject *object,
GimpUIManager *manager)
{
g_signal_handlers_disconnect_by_func (object,
@@ -1013,7 +1013,7 @@ gimp_ui_manager_item_key_press (GtkWidget *widget,
* standard GtkMenuShell callback and assign a new shortcut, but
* don't assign a shortcut to the help menu entries ...
*/
- if (kevent->keyval != GDK_F1)
+ if (kevent->keyval != GDK_KEY_F1)
{
if (help_id &&
gtk_accelerator_valid (kevent->keyval, 0) &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]