diff options
author | Ross Burton <ross@openedhand.com> | 2008-05-01 10:35:36 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-05-01 10:35:36 +0000 |
commit | 5e7604abe4dbf3348a129b8109a7b04bd0914ad2 (patch) | |
tree | 6f123409a06963fd95c7873375e089cc040dea92 | |
parent | d14f7bd079fc79c3153931ca0e5c348ed4ddd86d (diff) | |
download | poky-5e7604abe4dbf3348a129b8109a7b04bd0914ad2.tar.gz |
gtk+: fix a warning when creating the file chooser
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4383 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/packages/gtk+/gtk+-2.12.7/filechooser-default.patch | 8 | ||||
-rw-r--r-- | meta/packages/gtk+/gtk+_2.12.7.bb | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/meta/packages/gtk+/gtk+-2.12.7/filechooser-default.patch b/meta/packages/gtk+/gtk+-2.12.7/filechooser-default.patch index 34a86b2bfb..146316c9c1 100644 --- a/meta/packages/gtk+/gtk+-2.12.7/filechooser-default.patch +++ b/meta/packages/gtk+/gtk+-2.12.7/filechooser-default.patch | |||
@@ -488,7 +488,7 @@ Index: gtk+-2.12.5/gtk/gtkfilechooserdefault.c | |||
488 | 488 | ||
489 | binding_set = gtk_binding_set_by_class (class); | 489 | binding_set = gtk_binding_set_by_class (class); |
490 | 490 | ||
491 | @@ -764,29 +444,17 @@ | 491 | @@ -764,29 +444,11 @@ |
492 | "home-folder", | 492 | "home-folder", |
493 | 0); | 493 | 0); |
494 | gtk_binding_entry_add_signal (binding_set, | 494 | gtk_binding_entry_add_signal (binding_set, |
@@ -515,12 +515,6 @@ Index: gtk+-2.12.5/gtk/gtkfilechooserdefault.c | |||
515 | - 1, G_TYPE_INT, i); | 515 | - 1, G_TYPE_INT, i); |
516 | - | 516 | - |
517 | _gtk_file_chooser_install_properties (gobject_class); | 517 | _gtk_file_chooser_install_properties (gobject_class); |
518 | + | ||
519 | + gtk_settings_install_property (g_param_spec_string ("gtk-file-chooser-backend", | ||
520 | + P_("Default file chooser backend"), | ||
521 | + P_("Name of the GtkFileChooser backend to use by default"), | ||
522 | + NULL, | ||
523 | + GTK_PARAM_READWRITE)); | ||
524 | } | 518 | } |
525 | 519 | ||
526 | static void | 520 | static void |
diff --git a/meta/packages/gtk+/gtk+_2.12.7.bb b/meta/packages/gtk+/gtk+_2.12.7.bb index 1da49ca047..bbcef76710 100644 --- a/meta/packages/gtk+/gtk+_2.12.7.bb +++ b/meta/packages/gtk+/gtk+_2.12.7.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | require gtk+.inc | 1 | require gtk+.inc |
2 | 2 | ||
3 | DEPENDS += "cairo" | 3 | DEPENDS += "cairo" |
4 | PR = "r7" | 4 | PR = "r8" |
5 | 5 | ||
6 | SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \ | 6 | SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \ |
7 | file://xsettings.patch;patch=1 \ | 7 | file://xsettings.patch;patch=1 \ |