[yocto] [matchbox-config-gtk][PATCH 1/1] Port to Gtk+3
Jussi Kukkonen
jussi.kukkonen at intel.com
Fri Apr 29 03:51:21 PDT 2016
Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---
appearance/mb-appearance.c | 4 ++--
configure.ac | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/appearance/mb-appearance.c b/appearance/mb-appearance.c
index 34640b4..6dfe98e 100644
--- a/appearance/mb-appearance.c
+++ b/appearance/mb-appearance.c
@@ -381,14 +381,14 @@ main (int argc, char **argv) {
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (theme_store), COL_NAME, GTK_SORT_ASCENDING);
dialog = gtk_dialog_new_with_buttons (_("Appearance"), NULL,
- GTK_DIALOG_NO_SEPARATOR,
+ 0,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);
g_signal_connect (dialog, "response", G_CALLBACK (gtk_main_quit), NULL);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
- box = GTK_BOX (GTK_DIALOG (dialog)->vbox);
+ box = GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog)));
gtk_box_set_spacing (box, 6);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 6);
diff --git a/configure.ac b/configure.ac
index b6d6034..882e319 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,7 +7,7 @@ AC_ISC_POSIX
AC_PROG_CC
AC_STDC_HEADERS
-PKG_CHECK_MODULES(GTK, gtk+-2.0)
+PKG_CHECK_MODULES(GTK, gtk+-3.0)
PKG_CHECK_MODULES(GCONF, gconf-2.0)
CFLAGS="$CFLAGS -Wall"
--
2.8.1
More information about the yocto
mailing list