[Xfce4-commits] [apps/xfce4-taskmanager] 01/02: Make xtm_process_window_show() public, GApplication will use it to activate a running instance.

noreply at xfce.org noreply at xfce.org
Wed Dec 3 10:27:56 CET 2014


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository apps/xfce4-taskmanager.

commit c91db0bb3bd545f8205ad1531f2c9b52fc417f9e
Author: Landry Breuil <landry at xfce.org>
Date:   Wed Dec 3 10:24:28 2014 +0100

    Make xtm_process_window_show() public, GApplication will use it to activate a running instance.
---
 src/process-window.c |    3 +--
 src/process-window.h |    1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/process-window.c b/src/process-window.c
index 0891fe6..30002d9 100644
--- a/src/process-window.c
+++ b/src/process-window.c
@@ -55,7 +55,6 @@ struct _XtmProcessWindow
 G_DEFINE_TYPE (XtmProcessWindow, xtm_process_window, GTK_TYPE_WIDGET)
 
 static void	xtm_process_window_finalize			(GObject *object);
-static void	xtm_process_window_show				(GtkWidget *widget);
 static void	xtm_process_window_hide				(GtkWidget *widget);
 
 static void	emit_destroy_signal				(XtmProcessWindow *window);
@@ -377,7 +376,7 @@ xtm_process_window_new (void)
 	return g_object_new (XTM_TYPE_PROCESS_WINDOW, NULL);
 }
 
-static void
+void
 xtm_process_window_show (GtkWidget *widget)
 {
 	g_return_if_fail (GTK_IS_WIDGET (widget));
diff --git a/src/process-window.h b/src/process-window.h
index 368da33..61f7464 100644
--- a/src/process-window.h
+++ b/src/process-window.h
@@ -28,6 +28,7 @@ typedef struct _XtmProcessWindow XtmProcessWindow;
 
 GType		xtm_process_window_get_type			(void);
 GtkWidget *	xtm_process_window_new				(void);
+void		xtm_process_window_show				(GtkWidget *widget);
 GtkTreeModel *	xtm_process_window_get_model			(XtmProcessWindow *window);
 void		xtm_process_window_set_system_info		(XtmProcessWindow *window, guint num_processes, gfloat cpu, gfloat memory, gfloat swap);
 void		xtm_process_window_show_swap_usage		(XtmProcessWindow *window, gboolean show_swap_usage);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list