Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 143040 Details for
Bug 206459
gnome-extra/lock-keys-applet-1.0 fails to build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
source code patch to compile with gtk+2.12
lock-keys-applet-1.0-gtk+2.12.patch (text/plain), 1.10 KB, created by
Alexander Goomenyuk
on 2008-02-09 13:34:52 UTC
(
hide
)
Description:
source code patch to compile with gtk+2.12
Filename:
MIME Type:
Creator:
Alexander Goomenyuk
Created:
2008-02-09 13:34:52 UTC
Size:
1.10 KB
patch
obsolete
>diff -ruN lock-keys-applet-1.0/src/lock-keys-applet.c lock-keys-applet-1.0-gtk+2.12/src/lock-keys-applet.c >--- lock-keys-applet-1.0/src/lock-keys-applet.c 2003-02-05 18:29:21.000000000 +0200 >+++ lock-keys-applet-1.0-gtk+2.12/src/lock-keys-applet.c 2008-02-09 15:28:10.417962822 +0200 >@@ -61,8 +61,10 @@ > gboolean show[3]; > > GtkDialog *about, *settings; >- >+ >+#if !(NEW_API) > GtkTooltips *tooltips; >+#endif // NEW_API > } LedApplet; > > static const char >@@ -497,7 +499,11 @@ > off = _("Off"); > buf = g_strdup_printf(_("Caps: %s Num: %s Scroll: %s"), applet->on[CAPSLOCK] ? on : off, > applet->on[NUMLOCK] ? on : off,applet->on[SCROLLLOCK] ? on : off); >+#if (NEW_API) >+ gtk_tooltips_set_tip(GTK_WIDGET(applet->applet), buf, ""); >+#else > gtk_tooltips_set_tip(applet->tooltips, GTK_WIDGET(applet->applet), buf, ""); >+#endif // NEW_API > g_free(buf); > } > >@@ -588,7 +594,9 @@ > g_assert(drawable); > applet->rootwin = gdk_x11_drawable_get_xdisplay(drawable); > >+#if !(NEW_API) > applet->tooltips = gtk_tooltips_new(); >+#endif // NEW_API > > applet->vbox = gtk_vbox_new(FALSE, 0); > applet->hbox = gtk_hbox_new(FALSE, 0);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206459
: 143040