* [matchbox-config-gtk][PATCH 0/1] Upgrade to Gtk+3
@ 2016-04-29 10:50 Jussi Kukkonen
2016-04-29 10:51 ` [matchbox-config-gtk][PATCH 1/1] Port " Jussi Kukkonen
0 siblings, 1 reply; 4+ messages in thread
From: Jussi Kukkonen @ 2016-04-29 10:50 UTC (permalink / raw)
To: yocto
This one is a trivial port.
This patchset is part of the quest to make Sato compatible with GTK+3.
Complete WIP collection of patches can be found in jku/matchbox-wip
branch at git://git.yoctoproject.org/poky-contrib
The following changes since commit 3ed74dfb7c57be088a5ab36e446c0ccde9fa1028:
2008-09-25 Ross Burton <ross@linux.intel.com> (2008-09-25 15:52:01 +0000)
are available in the git repository at:
git://github.com/jku/matchbox-config-gtk gtk3
https://github.com/jku/matchbox-config-gtk/tree/gtk3
Jussi Kukkonen (1):
Port to Gtk+3
appearance/mb-appearance.c | 4 ++--
configure.ac | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--
2.8.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [matchbox-config-gtk][PATCH 1/1] Port to Gtk+3
2016-04-29 10:50 [matchbox-config-gtk][PATCH 0/1] Upgrade to Gtk+3 Jussi Kukkonen
@ 2016-04-29 10:51 ` Jussi Kukkonen
2016-04-29 15:36 ` Burton, Ross
0 siblings, 1 reply; 4+ messages in thread
From: Jussi Kukkonen @ 2016-04-29 10:51 UTC (permalink / raw)
To: yocto
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [matchbox-config-gtk][PATCH 1/1] Port to Gtk+3
2016-04-29 10:51 ` [matchbox-config-gtk][PATCH 1/1] Port " Jussi Kukkonen
@ 2016-04-29 15:36 ` Burton, Ross
2016-05-02 8:22 ` Jussi Kukkonen
0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2016-04-29 15:36 UTC (permalink / raw)
To: Jussi Kukkonen; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 2578 bytes --]
Hi,
mb-appearance.c: In function 'new_frame':
mb-appearance.c:352:3: warning: 'gtk_alignment_get_type' is deprecated
[-Wdeprecated-declarations]
*align = g_object_new (GTK_TYPE_ALIGNMENT,
^
In file included from /usr/include/gtk-3.0/gtk/gtk.h:248:0,
from mb-appearance.c:28:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:77:12: note: declared
here
GType gtk_alignment_get_type (void) G_GNUC_CONST;
^
mb-appearance.c: In function 'main':
mb-appearance.c:385:41: warning: 'GtkStock' is deprecated
[-Wdeprecated-declarations]
GTK_STOCK_CLOSE,
GTK_RESPONSE_CLOSE,
^
Should be simple to fix?
Ross
On 29 April 2016 at 11:51, Jussi Kukkonen <jussi.kukkonen@intel.com> wrote:
> Signed-off-by: Jussi Kukkonen <jussi.kukkonen@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
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
[-- Attachment #2: Type: text/html, Size: 3972 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [matchbox-config-gtk][PATCH 1/1] Port to Gtk+3
2016-04-29 15:36 ` Burton, Ross
@ 2016-05-02 8:22 ` Jussi Kukkonen
0 siblings, 0 replies; 4+ messages in thread
From: Jussi Kukkonen @ 2016-05-02 8:22 UTC (permalink / raw)
To: Burton, Ross; +Cc: yocto
On 29 April 2016 at 18:36, Burton, Ross <ross.burton@intel.com> wrote:
> Hi,
>
> mb-appearance.c: In function 'new_frame':
> mb-appearance.c:352:3: warning: 'gtk_alignment_get_type' is deprecated
> [-Wdeprecated-declarations]
> *align = g_object_new (GTK_TYPE_ALIGNMENT,
> ^
> In file included from /usr/include/gtk-3.0/gtk/gtk.h:248:0,
> from mb-appearance.c:28:
> /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:77:12: note: declared
> here
> GType gtk_alignment_get_type (void) G_GNUC_CONST;
> ^
> mb-appearance.c: In function 'main':
> mb-appearance.c:385:41: warning: 'GtkStock' is deprecated
> [-Wdeprecated-declarations]
> GTK_STOCK_CLOSE,
> GTK_RESPONSE_CLOSE,
> ^
>
> Should be simple to fix?
I was sure I handled these already ... but no, sorry about that. I
pushed a commit into the same branch to fix the above issues:
git://github.com/jku/matchbox-config-gtk gtk3
https://github.com/jku/matchbox-config-gtk/tree/gtk3
Jussi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-05-02 8:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-29 10:50 [matchbox-config-gtk][PATCH 0/1] Upgrade to Gtk+3 Jussi Kukkonen
2016-04-29 10:51 ` [matchbox-config-gtk][PATCH 1/1] Port " Jussi Kukkonen
2016-04-29 15:36 ` Burton, Ross
2016-05-02 8:22 ` Jussi Kukkonen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.