Ignore:
Timestamp:
Jun 18, 2010, 8:00:31 PM (10 years ago)
Author:
snc@…
Message:

update version, #25238. maintainer timeout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/irc/xchat2/files/patch-gtk2.19.7.diff

    r67999 r68959  
    11# http://sourceforge.net/tracker/?func=detail&aid=2974436&group_id=239&atid=100239
    2 Index: xchat-2.8.6/src/fe-gtk/dccgui.c
    3 ===================================================================
    4 --- ./src/fe-gtk/dccgui.c.orig
    5 +++ ./src/fe-gtk/dccgui.c
    6 @@ -700,7 +700,7 @@ dcc_detail_label (char *text, GtkWidget
    7  static void
    8  dcc_exp_cb (GtkWidget *exp, GtkWidget *box)
    9  {
    10 -       if (GTK_WIDGET_VISIBLE (box))
    11 +       if (gtk_widget_get_visible (box))
    12                 gtk_widget_hide (box);
    13         else
    14                 gtk_widget_show (box);
    15 Index: xchat-2.8.6/src/fe-gtk/fe-gtk.c
    16 ===================================================================
    17 --- ./src/fe-gtk/fe-gtk.c.orig
    18 +++ ./src/fe-gtk/fe-gtk.c
    19 @@ -819,7 +819,7 @@ fe_gui_info (session *sess, int info_typ
    20         switch (info_type)
    21         {
    22         case 0: /* window status */
    23 -               if (!GTK_WIDGET_VISIBLE (GTK_WINDOW (sess->gui->window)))
    24 +               if (!gtk_widget_get_visible (GTK_WINDOW (sess->gui->window)))
    25                         return 2;       /* hidden (iconified or systray) */
    26  #if GTK_CHECK_VERSION(2,4,0)
    27                 if (gtk_window_is_active (GTK_WINDOW (sess->gui->window)))
    28 Index: xchat-2.8.6/src/fe-gtk/maingui.c
     2Index: xchat-2.8.8/src/fe-gtk/maingui.c
    293===================================================================
    304--- ./src/fe-gtk/maingui.c.orig
    315+++ ./src/fe-gtk/maingui.c
    32 @@ -599,7 +599,7 @@ mg_show_generic_tab (GtkWidget *box)
    33         int num;
    34         GtkWidget *f = NULL;
    35  
    36 -       if (current_sess && GTK_WIDGET_HAS_FOCUS (current_sess->gui->input_box))
    37 +       if (current_sess && gtk_widget_has_focus (current_sess->gui->input_box))
    38                 f = current_sess->gui->input_box;
    39  
    40         num = gtk_notebook_page_num (GTK_NOTEBOOK (mg_gui->note_book), box);
    41 @@ -809,8 +809,8 @@ mg_set_topic_tip (session *sess)
    42  static void
    43  mg_hide_empty_pane (GtkPaned *pane)
    44  {
    45 -       if ((pane->child1 == NULL || !GTK_WIDGET_VISIBLE (pane->child1)) &&
    46 -                (pane->child2 == NULL || !GTK_WIDGET_VISIBLE (pane->child2)))
    47 +       if ((pane->child1 == NULL || !gtk_widget_get_visible (pane->child1)) &&
    48 +                (pane->child2 == NULL || !gtk_widget_get_visible (pane->child2)))
    49         {
    50                 gtk_widget_hide (GTK_WIDGET (pane));
    51                 return;
    526@@ -2585,9 +2585,9 @@ mg_rightpane_cb (GtkPaned *pane, GParamS
    537 {
     
    6216 
    6317        gtk_widget_style_get (GTK_WIDGET (pane), "handle-size", &handle_size, NULL);
    64 Index: xchat-2.8.6/src/fe-gtk/menu.c
    65 ===================================================================
    66 --- ./src/fe-gtk/menu.c.orig
    67 +++ ./src/fe-gtk/menu.c
    68 @@ -1670,7 +1670,7 @@ static gboolean
    69  menu_canacaccel (GtkWidget *widget, guint signal_id, gpointer user_data)
    70  {
    71         /* GTK2.2 behaviour */
    72 -       return GTK_WIDGET_IS_SENSITIVE (widget);
    73 +       return gtk_widget_is_sensitive (widget);
    74  }
    75  
    76  #endif
    77 Index: xchat-2.8.6/src/fe-gtk/plugin-tray.c
    78 ===================================================================
    79 --- ./src/fe-gtk/plugin-tray.c.orig
    80 +++ ./src/fe-gtk/plugin-tray.c
    81 @@ -457,7 +457,7 @@ tray_toggle_visibility (gboolean force_h
    82         if (!win)
    83                 return FALSE;
    84  
    85 -       if (force_hide || GTK_WIDGET_VISIBLE (win))
    86 +       if (force_hide || gtk_widget_get_visible (win))
    87         {
    88                 gtk_window_get_position (win, &x, &y);
    89                 screen = gtk_window_get_screen (win);
    90 
    91                  
Note: See TracChangeset for help on using the changeset viewer.