* [gentoo-commits] gentoo-x86 commit in xfce-extra/xfce4-timer-plugin/files: xfce4-timer-plugin-0.6.1-segfault_with_48_panel.patch
@ 2011-01-29 7:21 Samuli Suominen (ssuominen)
0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2011-01-29 7:21 UTC (permalink / raw
To: gentoo-commits
ssuominen 11/01/29 07:21:29
Added:
xfce4-timer-plugin-0.6.1-segfault_with_48_panel.patch
Log:
Fix segmentation fault with xfce4-panel >= 4.8 wrt #352988 by Johannes Geiss.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Revision Changes Path
1.1 xfce-extra/xfce4-timer-plugin/files/xfce4-timer-plugin-0.6.1-segfault_with_48_panel.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-extra/xfce4-timer-plugin/files/xfce4-timer-plugin-0.6.1-segfault_with_48_panel.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-extra/xfce4-timer-plugin/files/xfce4-timer-plugin-0.6.1-segfault_with_48_panel.patch?rev=1.1&content-type=text/plain
Index: xfce4-timer-plugin-0.6.1-segfault_with_48_panel.patch
===================================================================
From 03ff202f818fe3f075a6c864ab688b57b1bb1cb4 Mon Sep 17 00:00:00 2001
From: Nick Schermer <nick@xfce.org>
Date: Thu, 27 Jan 2011 21:18:45 +0000
Subject: Fix segfault when creating plugin in 4.8 panel.
Used invalid function type to construct the plugin.
---
diff --git a/src/xfcetimer.c b/src/xfcetimer.c
index c27d37a..de7bd2b 100644
--- a/src/xfcetimer.c
+++ b/src/xfcetimer.c
@@ -42,7 +42,7 @@
#include "xfcetimer.h"
-static gboolean create_plugin_control (XfcePanelPlugin *plugin);
+static void create_plugin_control (XfcePanelPlugin *plugin);
XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL(create_plugin_control);
void make_menu(plugin_data *pd);
@@ -1366,7 +1366,7 @@ static void plugin_create_options (XfcePanelPlugin *plugin,plugin_data *pd) {
*
* Returns %TRUE on success, %FALSE on failure.
**/
-static gboolean
+static void
create_plugin_control (XfcePanelPlugin *plugin)
{
@@ -1461,7 +1461,6 @@ create_plugin_control (XfcePanelPlugin *plugin)
xfce_panel_plugin_menu_show_configure (plugin);
g_signal_connect (plugin, "configure-plugin",
G_CALLBACK (plugin_create_options), pd);
- return(TRUE);
}
--
cgit v0.8.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in xfce-extra/xfce4-timer-plugin/files: xfce4-timer-plugin-0.6.1-segfault_with_48_panel.patch
@ 2012-01-06 11:05 Samuli Suominen (ssuominen)
0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2012-01-06 11:05 UTC (permalink / raw
To: gentoo-commits
ssuominen 12/01/06 11:05:35
Removed:
xfce4-timer-plugin-0.6.1-segfault_with_48_panel.patch
Log:
old
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-06 11:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-29 7:21 [gentoo-commits] gentoo-x86 commit in xfce-extra/xfce4-timer-plugin/files: xfce4-timer-plugin-0.6.1-segfault_with_48_panel.patch Samuli Suominen (ssuominen)
-- strict thread matches above, loose matches on Subject: below --
2012-01-06 11:05 Samuli Suominen (ssuominen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox