plug: Move private functions to gtksocketprivate.h

This commit is contained in:
Benjamin Otte 2011-01-28 15:39:11 +01:00
parent 388f9fd181
commit 56c6c63cce
2 changed files with 7 additions and 5 deletions

View File

@ -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 */

View File

@ -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__ */