Skip to content
Snippets Groups Projects
Commit ab9fe264 authored by Nick Schermer's avatar Nick Schermer
Browse files

* Revert previous patch

(Old svn revision: 24260)
parent 9f250fd7
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,6 @@ XDT_CHECK_LIBSM
dnl Check for required packages
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.3.99.2])
XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.0])
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0])
XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.3.99.2])
XDT_CHECK_PACKAGE(LIBXFCE4MCS_MANAGER, libxfce4mcs-manager-1.0, 4.3.99.2)
......
......@@ -12,7 +12,7 @@ desktopdatadir=${datadir}/xfce4/panel-plugins
Name: libxfce4panel
Description: Library for the Xfce Panel
Requires: gthread-2.0 gtk+-2.0 libxfcegui4-1.0 libxfce4util-1.0
Requires: libxfcegui4-1.0 libxfce4util-1.0
Version: @VERSION@
Libs: -L${libdir} -lxfce4panel
Cflags: -I${includedir}/xfce4/
......@@ -23,7 +23,6 @@
#define _XFCE_PANEL_PLUGIN_H
#include <stdlib.h>
#include <glib.h>
#include <libxfce4panel/xfce-panel-enums.h>
#include <libxfce4panel/xfce-panel-macros.h>
#include <libxfce4panel/xfce-panel-plugin-iface.h>
......@@ -44,8 +43,6 @@
main (int argc, char **argv) \
{ \
GtkWidget *plugin; \
if (!g_thread_supported ()) \
g_thread_init (NULL); \
gtk_init (&argc, &argv); \
plugin = xfce_external_panel_plugin_new (argc, argv, \
(XfcePanelPluginFunc)construct); \
......@@ -77,8 +74,6 @@
{ \
GtkWidget *plugin; \
XfcePanelPluginCheck test = (XfcePanelPluginCheck)check; \
if (!g_thread_supported ()) \
g_thread_init (NULL); \
gtk_init (&argc, &argv); \
if (!test(gdk_screen_get_default())) return 2; \
plugin = xfce_external_panel_plugin_new (argc, argv, \
......
......@@ -32,7 +32,6 @@ xfce4_panel_SOURCES = \
xfce4_panel_CFLAGS = \
-I$(top_srcdir) \
@LIBSTARTUP_NOTIFICATION_CFLAGS@ \
@GTHREAD_CFLAGS@ \
@LIBX11_CFLAGS@ \
@LIBXFCE4UTIL_CFLAGS@ \
@LIBXFCEGUI4_CFLAGS@ \
......@@ -51,7 +50,6 @@ endif
xfce4_panel_LDADD = \
../libxfce4panel/libxfce4panel.la \
@GTHREAD_LIBS@ \
@LIBSTARTUP_NOTIFICATION_LIBS@ \
@LIBX11_LIBS@ \
@LIBXFCE4UTIL_LIBS@ \
......
......@@ -27,7 +27,6 @@
#include <unistd.h>
#include <string.h>
#include <locale.h>
#include <glib.h>
#include <gtk/gtk.h>
#include <libxfce4util/libxfce4util.h>
......@@ -145,10 +144,6 @@ main (int argc, char **argv)
xfce_textdomain (GETTEXT_PACKAGE, LOCALEDIR, "UTF-8");
/* initialize the GThread system (needed for slice allocator) */
if (!g_thread_supported ())
g_thread_init (NULL);
if (handle_options (argc, argv, &success))
exit (success);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment