diff options
author | Stefan Cristian B. <steven.darklight@gmail.com> | 2015-06-18 18:31:03 +0300 |
---|---|---|
committer | Stefan Cristian B. <steven.darklight@gmail.com> | 2015-06-18 18:31:03 +0300 |
commit | 71c20430bd06d80b663fb54d1df67598d804c219 (patch) | |
tree | 8ed9e8852b128c270f9197edf597532ac3fd8e11 /media-plugins/deadbeef-infobar/files/deadbeef-infobar-focus-fix.diff | |
parent | 35875647a1f4db65a3a7a559479ef8e311acbac2 (diff) | |
parent | 975d01bc65f0f9190808c0d3cddf3131a790a8f6 (diff) |
Merge pull request #52 from crismblog/master
Applications useful and beautiful themes
Diffstat (limited to 'media-plugins/deadbeef-infobar/files/deadbeef-infobar-focus-fix.diff')
-rw-r--r-- | media-plugins/deadbeef-infobar/files/deadbeef-infobar-focus-fix.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-infobar/files/deadbeef-infobar-focus-fix.diff b/media-plugins/deadbeef-infobar/files/deadbeef-infobar-focus-fix.diff new file mode 100644 index 00000000..b80016cf --- /dev/null +++ b/media-plugins/deadbeef-infobar/files/deadbeef-infobar-focus-fix.diff @@ -0,0 +1,14 @@ +diff -r b870df1b662c ui.c +--- a/ui.c Thu Jan 30 15:13:12 2014 +0200 ++++ b/ui.c Thu Jul 10 09:00:29 2014 +0200 +@@ -19,6 +19,10 @@ + + #include "ui.h" + ++#if !GTK_CHECK_VERSION(2,18,0) ++#define gtk_widget_set_can_focus(widget, canfocus) {if (canfocus) GTK_WIDGET_SET_FLAGS (widget, GTK_CAN_FOCUS); else GTK_WIDGET_UNSET_FLAGS(widget, GTK_CAN_FOCUS);} ++#endif ++ + static GtkWidget *infobar_tabs; + static GtkWidget *infobar_toggles; + |