wok diff kazehakase/stuff/kazehakase-rev3873-gtk222.patch @ rev 21639

procps-3.2.8 recompiled (ncurses-6.1)
author Hans-G?nter Theisgen
date Wed May 29 16:50:51 2019 +0100 (2019-05-29)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kazehakase/stuff/kazehakase-rev3873-gtk222.patch	Wed May 29 16:50:51 2019 +0100
     1.3 @@ -0,0 +1,107 @@
     1.4 +--- kazehakase-0.5.8-svn3873_trunk/src/kz-notebook.c.gtk222	2009-10-16 23:53:10.000000000 +0900
     1.5 ++++ kazehakase-0.5.8-svn3873_trunk/src/kz-notebook.c	2010-09-08 23:44:28.000000000 +0900
     1.6 +@@ -82,7 +82,11 @@
     1.7 + 			      guint 	   page_num,
     1.8 + 			      gpointer     data);
     1.9 + static void     switch_page  (GtkNotebook     *notebook,
    1.10 ++#if GTK_CHECK_VERSION(2, 21, 6)
    1.11 ++                              gpointer page,
    1.12 ++#else
    1.13 + 			      GtkNotebookPage *page,
    1.14 ++#endif
    1.15 + 			      guint 	   page_num);
    1.16 + 
    1.17 + static void	cb_page_reordered (GtkNotebook *notebook,
    1.18 +@@ -322,7 +326,13 @@
    1.19 + }
    1.20 + 
    1.21 + static void
    1.22 +-switch_page (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num)
    1.23 ++switch_page (GtkNotebook *notebook,
    1.24 ++#if GTK_CHECK_VERSION(2, 21, 6)
    1.25 ++        gpointer page,
    1.26 ++#else
    1.27 ++        GtkNotebookPage *page,
    1.28 ++#endif
    1.29 ++        guint page_num)
    1.30 + {
    1.31 + 	KzTabLabel *tab;
    1.32 + 	gchar *title;
    1.33 +--- kazehakase-0.5.8-svn3873_trunk/src/kz-window.c.gtk222	2010-05-04 00:38:44.000000000 +0900
    1.34 ++++ kazehakase-0.5.8-svn3873_trunk/src/kz-window.c	2010-09-08 23:40:40.000000000 +0900
    1.35 +@@ -213,11 +213,19 @@
    1.36 + 					       guint            page_num,
    1.37 + 					       KzWindow        *kz);
    1.38 + static void     cb_notebook_switch_page       (GtkNotebook     *notebook,
    1.39 ++#if GTK_CHECK_VERSION(2, 21, 6)
    1.40 ++                                               gpointer page,
    1.41 ++#else
    1.42 + 					       GtkNotebookPage *page,
    1.43 ++#endif
    1.44 + 					       guint            page_num,
    1.45 + 					       KzWindow        *kz);
    1.46 + static void     cb_notebook_switch_page_after (GtkNotebook     *notebook,
    1.47 ++#if GTK_CHECK_VERSION(2, 21, 6)
    1.48 ++                                               gpointer page,
    1.49 ++#else
    1.50 + 					       GtkNotebookPage *page,
    1.51 ++#endif
    1.52 + 					       guint            page_num,
    1.53 + 					       KzWindow        *kz);
    1.54 + static void     cb_gesture_stack_motion       (KzGesture       *gesture,
    1.55 +@@ -1912,7 +1920,12 @@
    1.56 + }
    1.57 + 
    1.58 + static void
    1.59 +-cb_notebook_switch_page (GtkNotebook *notebook, GtkNotebookPage *page,
    1.60 ++cb_notebook_switch_page (GtkNotebook *notebook,
    1.61 ++#if GTK_CHECK_VERSION(2, 21, 6)
    1.62 ++                         gpointer page,
    1.63 ++#else
    1.64 ++                         GtkNotebookPage *page,
    1.65 ++#endif
    1.66 + 			 guint page_num, KzWindow *kz)
    1.67 + {
    1.68 + 	KzWeb *kzweb = KZ_WINDOW_NTH_WEB(kz, page_num);
    1.69 +@@ -1971,7 +1984,12 @@
    1.70 + }
    1.71 + 
    1.72 + static void
    1.73 +-cb_notebook_switch_page_after (GtkNotebook *notebook, GtkNotebookPage *page,
    1.74 ++cb_notebook_switch_page_after (GtkNotebook *notebook,
    1.75 ++#if GTK_CHECK_VERSION(2, 21, 6)
    1.76 ++                               gpointer page,
    1.77 ++#else
    1.78 ++                               GtkNotebookPage *page,
    1.79 ++#endif
    1.80 + 			       guint page_num, KzWindow *kz)
    1.81 + {
    1.82 + 	kz_feed_info_change_state(KZ_FEED_INFO(kz->feed_info));
    1.83 +--- kazehakase-0.5.8-svn3873_trunk/src/sidebar/kz-tabtree.c.gtk222	2009-10-16 23:53:09.000000000 +0900
    1.84 ++++ kazehakase-0.5.8-svn3873_trunk/src/sidebar/kz-tabtree.c	2010-09-08 23:36:25.000000000 +0900
    1.85 +@@ -85,7 +85,11 @@
    1.86 + 
    1.87 + /* signal handlers for Notebook on KzWindow */
    1.88 + static void     cb_switch_page    (GtkNotebook     *notebook,
    1.89 ++#if GTK_CHECK_VERSION(2, 21, 6)
    1.90 ++                                   gpointer page,
    1.91 ++#else
    1.92 + 				   GtkNotebookPage *page,
    1.93 ++#endif
    1.94 + 				   guint            page_num,
    1.95 + 				   KzTabTree       *tabtree);
    1.96 + 
    1.97 +@@ -696,7 +700,12 @@
    1.98 + 
    1.99 + 
   1.100 + static void
   1.101 +-cb_switch_page (GtkNotebook *notebook, GtkNotebookPage *page,
   1.102 ++cb_switch_page (GtkNotebook *notebook,
   1.103 ++#if GTK_CHECK_VERSION(2, 21, 6)
   1.104 ++                gpointer page,
   1.105 ++#else
   1.106 ++                GtkNotebookPage *page,
   1.107 ++#endif
   1.108 + 		guint page_num, KzTabTree *tabtree)
   1.109 + {
   1.110 + 	KzWeb *web;