forked from AuroraMiddleware/gtk
Make GtkInvisible private
We can't quite get rid of its use in the inspector, but we can make it private.
This commit is contained in:
parent
a75dcce707
commit
e91144f6c9
@ -71,7 +71,6 @@
|
||||
<xi:include href="xml/gtkmessagedialog.xml" />
|
||||
<xi:include href="xml/gtkaboutdialog.xml" />
|
||||
<xi:include href="xml/gtkassistant.xml" />
|
||||
<xi:include href="xml/gtkinvisible.xml" />
|
||||
<xi:include href="xml/gtkwindowgroup.xml" />
|
||||
</chapter>
|
||||
|
||||
|
@ -1586,23 +1586,6 @@ gtk_im_multicontext_get_type
|
||||
GtkIMMulticontextPrivate
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gtkinvisible</FILE>
|
||||
<TITLE>GtkInvisible</TITLE>
|
||||
GtkInvisible
|
||||
gtk_invisible_new
|
||||
<SUBSECTION Standard>
|
||||
GTK_INVISIBLE
|
||||
GTK_IS_INVISIBLE
|
||||
GTK_TYPE_INVISIBLE
|
||||
GTK_INVISIBLE_CLASS
|
||||
GTK_IS_INVISIBLE_CLASS
|
||||
GTK_INVISIBLE_GET_CLASS
|
||||
<SUBSECTION Private>
|
||||
gtk_invisible_get_type
|
||||
GtkInvisiblePrivate
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gtklabel</FILE>
|
||||
<TITLE>GtkLabel</TITLE>
|
||||
|
@ -90,7 +90,6 @@ gtk_im_context_get_type
|
||||
gtk_im_context_simple_get_type
|
||||
gtk_im_multicontext_get_type
|
||||
gtk_info_bar_get_type
|
||||
gtk_invisible_get_type
|
||||
gtk_label_get_type
|
||||
gtk_layout_get_type
|
||||
gtk_link_button_get_type
|
||||
|
@ -101,7 +101,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconTheme, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconView, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkImage, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkInfoBar, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkInvisible, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLayout, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLevelBar, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLinkButton, g_object_unref)
|
||||
|
@ -132,7 +132,6 @@
|
||||
#include <gtk/gtkimcontextsimple.h>
|
||||
#include <gtk/gtkimmulticontext.h>
|
||||
#include <gtk/gtkinfobar.h>
|
||||
#include <gtk/gtkinvisible.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtklayout.h>
|
||||
#include <gtk/gtklevelbar.h>
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include <gdk/gdk.h>
|
||||
#include "gtkinvisible.h"
|
||||
#include "gtkinvisibleprivate.h"
|
||||
#include "gtkwidgetprivate.h"
|
||||
#include "gtkprivate.h"
|
||||
#include "gtkintl.h"
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "gtklistlistmodelprivate.h"
|
||||
#include "gtksizerequestcacheprivate.h"
|
||||
#include "gtkwindowprivate.h"
|
||||
#include "gtkinvisible.h"
|
||||
#include "gtkinvisibleprivate.h"
|
||||
#include "gtkgesture.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
#include "gtkstack.h"
|
||||
#include "gtkmain.h"
|
||||
#include "gtkinvisible.h"
|
||||
#include "gtkinvisibleprivate.h"
|
||||
#include "gtkwidgetprivate.h"
|
||||
#include "gtkgesturemultipress.h"
|
||||
#include "gtkeventcontrollermotion.h"
|
||||
|
@ -505,7 +505,6 @@ gtk_public_headers = files([
|
||||
'gtkimmodule.h',
|
||||
'gtkimmulticontext.h',
|
||||
'gtkinfobar.h',
|
||||
'gtkinvisible.h',
|
||||
'gtklabel.h',
|
||||
'gtklayout.h',
|
||||
'gtklevelbar.h',
|
||||
|
@ -84,7 +84,7 @@ test_finalize_object (gconstpointer data)
|
||||
g_object_weak_ref (object, check_finalized, &finalized);
|
||||
|
||||
/* Toplevels are owned by GTK+, just tell GTK+ to destroy it */
|
||||
if (GTK_IS_WINDOW (object) || GTK_IS_INVISIBLE (object))
|
||||
if (GTK_IS_WINDOW (object))
|
||||
gtk_widget_destroy (GTK_WIDGET (object));
|
||||
else
|
||||
g_object_unref (object);
|
||||
|
Loading…
Reference in New Issue
Block a user