nautilus/editable-iface.patch
Matthias Clasen c33b461f2c try again
2010-09-22 08:33:21 -04:00

62 lines
2.9 KiB
Diff

diff -up nautilus-2.90.1/eel/eel-editable-label.c.editable-iface nautilus-2.90.1/eel/eel-editable-label.c
--- nautilus-2.90.1/eel/eel-editable-label.c.editable-iface 2010-09-21 22:28:01.000000000 -0400
+++ nautilus-2.90.1/eel/eel-editable-label.c 2010-09-21 23:22:48.382998007 -0400
@@ -59,7 +59,7 @@ enum {
static guint signals[LAST_SIGNAL] = { 0 };
-static void eel_editable_label_editable_init (GtkEditableInterface *iface);
+static void eel_editable_label_editable_init (GtkEditableClass *iface);
static void eel_editable_label_class_init (EelEditableLabelClass *klass);
static void eel_editable_label_init (EelEditableLabel *label);
static void eel_editable_label_set_property (GObject *object,
@@ -506,7 +506,7 @@ eel_editable_label_class_init (EelEditab
}
static void
-eel_editable_label_editable_init (GtkEditableInterface *iface)
+eel_editable_label_editable_init (GtkEditableClass *iface)
{
iface->do_insert_text = editable_insert_text_emit;
iface->do_delete_text = editable_delete_text_emit;
diff -up nautilus-2.90.1/libnautilus-private/nautilus-autorun.c.editable-iface nautilus-2.90.1/libnautilus-private/nautilus-autorun.c
--- nautilus-2.90.1/libnautilus-private/nautilus-autorun.c.editable-iface 2010-09-22 08:32:15.318998004 -0400
+++ nautilus-2.90.1/libnautilus-private/nautilus-autorun.c 2010-09-22 08:32:29.945998006 -0400
@@ -695,7 +695,7 @@ is_shift_pressed (void)
gdk_error_trap_push ();
status = XkbGetState (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
XkbUseCoreKbd, &state);
- gdk_error_trap_pop_ignored ();
+ gdk_error_trap_pop ();
if (status == Success) {
ret = state.mods & ShiftMask;
diff -up nautilus-2.90.1/libnautilus-private/nautilus-entry.c.editable-iface nautilus-2.90.1/libnautilus-private/nautilus-entry.c
--- nautilus-2.90.1/libnautilus-private/nautilus-entry.c.editable-iface 2010-09-22 08:03:06.833998015 -0400
+++ nautilus-2.90.1/libnautilus-private/nautilus-entry.c 2010-09-22 08:03:46.708997998 -0400
@@ -50,13 +50,13 @@ enum {
};
static guint signals[LAST_SIGNAL];
-static void nautilus_entry_editable_init (GtkEditableInterface *iface);
+static void nautilus_entry_editable_init (GtkEditableClass *iface);
G_DEFINE_TYPE_WITH_CODE (NautilusEntry, nautilus_entry, GTK_TYPE_ENTRY,
G_IMPLEMENT_INTERFACE (GTK_TYPE_EDITABLE,
nautilus_entry_editable_init));
-static GtkEditableInterface *parent_editable_interface = NULL;
+static GtkEditableClass *parent_editable_interface = NULL;
static void
nautilus_entry_init (NautilusEntry *entry)
@@ -360,7 +360,7 @@ nautilus_entry_selection_clear (GtkWidge
}
static void
-nautilus_entry_editable_init (GtkEditableInterface *iface)
+nautilus_entry_editable_init (GtkEditableClass *iface)
{
parent_editable_interface = g_type_interface_peek_parent (iface);