nautilus/editable-iface.patch

50 lines
2.2 KiB
Diff
Raw Normal View History

2010-09-22 03:23:14 +00:00
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
2010-09-22 02:48:45 +00:00
@@ -59,7 +59,7 @@ enum {
static guint signals[LAST_SIGNAL] = { 0 };
-static void eel_editable_label_editable_init (GtkEditableInterface *iface);
2010-09-22 03:00:59 +00:00
+static void eel_editable_label_editable_init (GtkEditableClass *iface);
2010-09-22 02:48:45 +00:00
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,
2010-09-22 03:23:14 +00:00
@@ -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;
2010-09-22 12:04:09 +00:00
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);