summaryrefslogtreecommitdiffstats
path: root/third_party/instrumented_libraries/patches/libgtk2.0-0.diff
blob: 71a0224e845d97a6a617f5234f693d698ee64b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff -rupN ./gtk/gtkmain.c ../gtk+2.0-2.24.10-patched/gtk/gtkmain.c
--- ./gtk/gtkmain.c	2014-05-29 19:39:07.000000000 +0400
+++ ../gtk+2.0-2.24.10-patched/gtk/gtkmain.c	2014-05-29 19:44:00.368263970 +0400
@@ -759,7 +759,7 @@ _overlay_scrollbar_init (void)
     return;
 
   /* default extension library to use for this release */
-  gchar *path = "/usr/lib/liboverlay-scrollbar-0.2.so.0";
+  gchar *path = "liboverlay-scrollbar-0.2.so.0";
 
   module = g_module_open (path, G_MODULE_BIND_LOCAL);
   if (module == NULL)
diff -rupN ./gtk/gtkmenushell.h ../gtk+2.0-2.24.10-patched/gtk/gtkmenushell.h
--- ./gtk/gtkmenushell.h	2011-08-16 06:30:52.000000000 +0400
+++ ../gtk+2.0-2.24.10-patched/gtk/gtkmenushell.h	2014-05-29 19:42:28.029449496 +0400
@@ -135,7 +135,9 @@ void     _gtk_menu_shell_update_mnemonic
 void     _gtk_menu_shell_set_keyboard_mode (GtkMenuShell *menu_shell,
                                             gboolean      keyboard_mode);
 gboolean _gtk_menu_shell_get_keyboard_mode (GtkMenuShell *menu_shell);
-
+// https://bugs.launchpad.net/bugs/945135
+gboolean ubuntu_gtk_menu_shell_activate_mnemonic (GtkMenuShell *shell, GtkWidget *item);
+gboolean ubuntu_gtk_menu_shell_activate_first (GtkMenuShell *menu_shell, gboolean search_sensitive);
 G_END_DECLS
 
 #endif /* __GTK_MENU_SHELL_H__ */
diff -rupN ./gtk/Makefile.am ../gtk+2.0-2.24.10-patched/gtk/Makefile.am
--- ./gtk/Makefile.am	2014-05-29 19:39:07.000000000 +0400
+++ ../gtk+2.0-2.24.10-patched/gtk/Makefile.am	2014-05-29 19:42:28.029449496 +0400
@@ -1391,8 +1391,10 @@ stamp-icons: $(STOCK_ICONS)
 if CROSS_COMPILING
 gtk_update_icon_cache_program = $(GTK_UPDATE_ICON_CACHE)
 else
+# Use the system-installed, uninstrumented gtk-update-icon-cache. The
+# just-built one cannot be used because it doesn't have the right RPATH set.
 gtk_update_icon_cache_program =							\
-	   ./gtk-update-icon-cache
+	   gtk-update-icon-cache
 endif
 
 gtkbuiltincache.h: @REBUILD@ stamp-icons