Changeset 45319 in webkit


Ignore:
Timestamp:
Jun 27, 2009 10:54:40 PM (15 years ago)
Author:
jmalonzo@webkit.org
Message:

2009-06-27 Emilio Pozuelo Monfort <pochu27@gmail.com>

Reviewed by Jan Alonzo.

[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):
  • GtkLauncher/main.c: (create_toolbar):
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r45318 r45319  
     12009-06-27  Emilio Pozuelo Monfort  <pochu27@gmail.com>
     2
     3        Reviewed by Jan Alonzo.
     4
     5        [GTK] Don't use deprecated GTK+ symbols.
     6        https://bugs.webkit.org/show_bug.cgi?id=26583
     7
     8        * plugins/gtk/gtk2xtbin.c:
     9        (gtk_xtbin_class_init):
     10        (gtk_xtbin_new):
     11        (gtk_xtbin_destroy):
     12
    1132009-06-27  Simon Fraser  <simon.fraser@apple.com>
    214
  • trunk/WebCore/plugins/gtk/gtk2xtbin.c

    r38232 r45319  
    4343 */
    4444
    45 #undef GTK_DISABLE_DEPRECATED
    46 
    4745#include "xembed.h"
    4846#include "gtk2xtbin.h"
     
    247245  GtkObjectClass *object_class;
    248246
    249   parent_class = gtk_type_class (GTK_TYPE_SOCKET);
     247  parent_class = g_type_class_peek_parent (klass);
    250248
    251249  widget_class = GTK_WIDGET_CLASS (klass);
     
    320318
    321319  assert(parent_window != NULL);
    322   xtbin = gtk_type_new (GTK_TYPE_XTBIN);
     320  xtbin = g_object_new (GTK_TYPE_XTBIN, NULL);
    323321
    324322  if (!xtbin)
     
    378376    /* add a timer so that we can poll and process Xt timers */
    379377    xt_polling_timer_id =
    380       gtk_timeout_add(25,
    381                       (GtkFunction)xt_event_polling_timer_callback,
     378      g_timeout_add(25,
     379                      (GSourceFunc)xt_event_polling_timer_callback,
    382380                      xtdisplay);
    383381  }
     
    496494      g_source_remove(tag);
    497495
    498       gtk_timeout_remove(xt_polling_timer_id);
     496      g_source_remove(xt_polling_timer_id);
    499497      xt_polling_timer_id = 0;
    500498    }
  • trunk/WebKitTools/ChangeLog

    r45301 r45319  
     12009-06-27  Emilio Pozuelo Monfort  <pochu27@gmail.com>
     2
     3        Reviewed by Jan Alonzo.
     4
     5        [GTK] Don't use deprecated GTK+ symbols.
     6        https://bugs.webkit.org/show_bug.cgi?id=26583
     7
     8        * GtkLauncher/main.c:
     9        (create_toolbar):
     10
    1112009-06-26  Adam Barth  <abarth@webkit.org>
    212
  • trunk/WebKitTools/GtkLauncher/main.c

    r44720 r45319  
    141141    GtkWidget* toolbar = gtk_toolbar_new ();
    142142
    143     gtk_toolbar_set_orientation (GTK_TOOLBAR (toolbar), GTK_ORIENTATION_HORIZONTAL);
     143    gtk_orientable_set_orientation (GTK_ORIENTABLE (toolbar), GTK_ORIENTATION_HORIZONTAL);
    144144    gtk_toolbar_set_style (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_BOTH_HORIZ);
    145145
Note: See TracChangeset for help on using the changeset viewer.