Ticket #28069: patch-pidgin-gtkdocklet-gtk.c.2.diff

File patch-pidgin-gtkdocklet-gtk.c.2.diff, 666 bytes (added by jemaltz@…, 12 years ago)

Updated patch, with GTK+ version check removed (see comments)

  • pidgin/gtkdocklet-gtk.c

    old new  
    4747static gboolean
    4848docklet_gtk_embed_timeout_cb(gpointer data)
    4949{
    50 #if !GTK_CHECK_VERSION(2,12,0)
    5150        if (gtk_status_icon_is_embedded(docklet)) {
    5251                /* Older GTK+ (<2.12) don't implement the embedded signal, but the
    5352                   information is still accessable through the above function. */
     
    5756                purple_prefs_set_bool(PIDGIN_PREFS_ROOT "/docklet/gtk/embedded", TRUE);
    5857        }
    5958        else
    60 #endif
    6159        {
    6260                /* The docklet was not embedded within the timeout.
    6361                 * Remove it as a visibility manager, but leave the plugin