]> git.pld-linux.org Git - packages/gtk2-theme-engine-qt.git/blob - gtk2-theme-engine-qt-notebook.patch
- fix problems with autoconf 2.60 which creates configure that runs in POSIX mode
[packages/gtk2-theme-engine-qt.git] / gtk2-theme-engine-qt-notebook.patch
1 --- gtk-qt-engine-0.6/src/qt_qt_wrapper.cpp.3919        2004-12-19 09:31:48.000000000 -0600
2 +++ gtk-qt-engine-0.6/src/qt_qt_wrapper.cpp     2005-10-27 09:48:07.000000000 -0500
3 @@ -1363,7 +1363,8 @@
4         int sdiff = 10000, pos = -1, diff = 1;
5         for ( int i = 0; i < g_list_length(notebook->children); i++ )
6         {
7 -               diff = gtk_notebook_get_tab_label(notebook,gtk_notebook_get_nth_page(notebook,i))->allocation.x - x;
8 +               GtkWidget *tab_label=gtk_notebook_get_tab_label(notebook,gtk_notebook_get_nth_page(notebook,i));
9 +               if (tab_label) diff = tab_label->allocation.x - x;
10                 if ((diff > 0) && (diff < sdiff))
11                 {
12                         sdiff = diff; pos = i;
This page took 0.022086 seconds and 3 git commands to generate.