[gtk+/composite-templates] Remove private appwindow observer creation API
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/composite-templates] Remove private appwindow observer creation API
- Date: Fri, 14 Sep 2012 21:14:43 +0000 (UTC)
commit 87415c4fa8d1779e7bfe942e97306fad511fe9d6
Author: Ryan Lortie <desrt desrt ca>
Date: Fri Aug 17 23:26:44 2012 -0400
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.
gtk/gtkapplicationprivate.h | 9 ---------
gtk/gtkapplicationwindow.c | 16 ----------------
2 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/gtk/gtkapplicationprivate.h b/gtk/gtkapplicationprivate.h
index a05752c..bd84b1a 100644
--- a/gtk/gtkapplicationprivate.h
+++ b/gtk/gtkapplicationprivate.h
@@ -21,7 +21,6 @@
#ifndef __GTK_APPLICATION_PRIVATE_H__
#define __GTK_APPLICATION_PRIVATE_H__
-#include "gsimpleactionobserver.h"
#include "gtkapplicationwindow.h"
G_GNUC_INTERNAL
@@ -34,14 +33,6 @@ 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);
G_GNUC_INTERNAL
diff --git a/gtk/gtkapplicationwindow.c b/gtk/gtkapplicationwindow.c
index a175635..1d4b6d9 100644
--- a/gtk/gtkapplicationwindow.c
+++ b/gtk/gtkapplicationwindow.c
@@ -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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]