update Mon Jun 14 12:37:00 PDT 2010
[pkgsrc.git] / sysutils / bubblemon / patches / patch-gtk2-api-change
1 $NetBSD: patch-gtk2-api-change,v 1.1 2010/06/14 19:21:06 gdt Exp $
2
3 --- bubblemon.c.orig    2010-05-30 08:26:17.000000000 +0000
4 +++ bubblemon.c
5 @@ -275,6 +275,8 @@ static void print_usage(void)
6  
7  int main(int argc, char **argv)
8  {
9 +    /* hack borrowed from gentoo, to make info windows also work */
10 +    setenv("GDK_NATIVE_WINDOWS", "1", 0);
11      char execute[256];
12      int proximity = 0;
13      int ch;
14 @@ -605,10 +607,7 @@ static void make_new_bubblemon_dockapp(v
15      gdk_window_set_back_pixmap(bm.iconwin, bm.pixmap, False);
16  
17      gdk_window_show(bm.win);
18 -#ifdef KDE_DOCKAPP
19 -    /* makes the dockapp visible inside KDE wm */
20      gdk_window_show(bm.iconwin);
21 -#endif
22  
23      XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints);
24