Remove private appwindow observer creation API

There are no remaining users of the GtkApplicationWindow API to create
GSimpleActionObserver or to get the GActionObservable (ie: muxer) for
the appwindow.  Drop those APIs.
This commit is contained in:
Ryan Lortie 2012-08-17 23:26:44 -04:00
parent 86d7c9d5b5
commit 315d43e8a9
2 changed files with 0 additions and 25 deletions

View File

@ -21,7 +21,6 @@
#ifndef __GTK_APPLICATION_PRIVATE_H__
#define __GTK_APPLICATION_PRIVATE_H__
#include "gsimpleactionobserver.h"
#include "gtkapplicationwindow.h"
G_GNUC_INTERNAL
@ -33,14 +32,6 @@ gboolean gtk_application_window_publish (GtkAppl
G_GNUC_INTERNAL
void gtk_application_window_unpublish (GtkApplicationWindow *window);
G_GNUC_INTERNAL
GSimpleActionObserver * gtk_application_window_create_observer (GtkApplicationWindow *window,
const gchar *action_name,
GVariant *target);
G_GNUC_INTERNAL
GActionObservable * gtk_application_window_get_observable (GtkApplicationWindow *window);
G_GNUC_INTERNAL
GtkAccelGroup * gtk_application_window_get_accel_group (GtkApplicationWindow *window);

View File

@ -1073,22 +1073,6 @@ gtk_application_window_set_show_menubar (GtkApplicationWindow *window,
}
}
GSimpleActionObserver *
gtk_application_window_create_observer (GtkApplicationWindow *window,
const gchar *action_name,
GVariant *target)
{
g_return_val_if_fail (GTK_IS_APPLICATION_WINDOW (window), NULL);
return g_simple_action_observer_new (window->priv->muxer, action_name, target);
}
GActionObservable *
gtk_application_window_get_observable (GtkApplicationWindow *window)
{
return G_ACTION_OBSERVABLE (window->priv->muxer);
}
GtkAccelGroup *
gtk_application_window_get_accel_group (GtkApplicationWindow *window)
{