[gtk+] plug: Move private functions to gtksocketprivate.h
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] plug: Move private functions to gtksocketprivate.h
- Date: Fri, 28 Jan 2011 16:08:21 +0000 (UTC)
commit 56c6c63cceda0e20de187c0123e1f269269a82ad
Author: Benjamin Otte <otte redhat com>
Date: Fri Jan 28 15:39:11 2011 +0100
plug: Move private functions to gtksocketprivate.h
gtk/gtkplug.h | 5 -----
gtk/gtksocketprivate.h | 7 +++++++
2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkplug.h b/gtk/gtkplug.h
index ed9aca8..f34f6d2 100644
--- a/gtk/gtkplug.h
+++ b/gtk/gtkplug.h
@@ -96,11 +96,6 @@ gboolean gtk_plug_get_embedded (GtkPlug *plug);
GdkWindow *gtk_plug_get_socket_window (GtkPlug *plug);
-void _gtk_plug_add_to_socket (GtkPlug *plug,
- GtkSocket *socket_);
-void _gtk_plug_remove_from_socket (GtkPlug *plug,
- GtkSocket *socket_);
-
G_END_DECLS
#endif /* GDK_WINDOWING_X11 */
diff --git a/gtk/gtksocketprivate.h b/gtk/gtksocketprivate.h
index bdb8cb9..a2e569f 100644
--- a/gtk/gtksocketprivate.h
+++ b/gtk/gtksocketprivate.h
@@ -26,6 +26,7 @@
#ifndef __GTK_SOCKET_PRIVATE_H__
#define __GTK_SOCKET_PRIVATE_H__
+#include "gtkplug.h"
#include "gtksocket.h"
struct _GtkSocketPrivate
@@ -52,4 +53,10 @@ struct _GtkSocketPrivate
GtkWidget *toplevel;
};
+/* from gtkplug.c */
+void _gtk_plug_add_to_socket (GtkPlug *plug,
+ GtkSocket *socket_);
+void _gtk_plug_remove_from_socket (GtkPlug *plug,
+ GtkSocket *socket_);
+
#endif /* __GTK_SOCKET_PRIVATE_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]