[Webkit-unassigned] [Bug 26583] [Gtk] Remove deprecated GTK+ symbols

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 25 17:31:07 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26583





------- Comment #3 from jmalonzo at gmail.com  2009-06-25 17:31 PDT -------
(From update of attachment 31880)
> diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
> index 442178e..add2229 100644
> --- a/WebCore/ChangeLog
> +++ b/WebCore/ChangeLog
> @@ -1,3 +1,15 @@
> +2009-06-25  Emilio Pozuelo Monfort  <pochu27 at gmail.com>
> +
> +        Reviewed by NOBODY (OOPS!).
> +
> +        [GTK] Don't use deprecated GTK+ symbols.
> +        https://bugs.webkit.org/show_bug.cgi?id=26583
> +
> +        * plugins/gtk/gtk2xtbin.c:
> +        (gtk_xtbin_class_init):
> +        (gtk_xtbin_new):
> +        (gtk_xtbin_destroy):
> +
>  2009-06-25  Dimitri Glazkov  <dglazkov at chromium.org>
>  
>          Unreviewed, build fix.
> diff --git a/WebCore/plugins/gtk/gtk2xtbin.c b/WebCore/plugins/gtk/gtk2xtbin.c
> index 8d52aa2..68c5373 100644
> --- a/WebCore/plugins/gtk/gtk2xtbin.c
> +++ b/WebCore/plugins/gtk/gtk2xtbin.c
> @@ -42,8 +42,6 @@
>   * inside a GTK application.  
>   */
>  
> -#undef GTK_DISABLE_DEPRECATED
> -
>  #include "xembed.h"
>  #include "gtk2xtbin.h"
>  #include <gtk/gtk.h>
> @@ -246,7 +244,7 @@ gtk_xtbin_class_init (GtkXtBinClass *klass)
>    GtkWidgetClass *widget_class;
>    GtkObjectClass *object_class;
>  
> -  parent_class = gtk_type_class (GTK_TYPE_SOCKET);
> +  parent_class = g_type_class_peek_parent (klass);

Why the change from GTK_TYPE_SOCKET to klass? Is it safe?


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list