[gtk+] inspector: Drop an unused function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Drop an unused function
- Date: Sun, 11 May 2014 02:22:53 +0000 (UTC)
commit a3713b51ff674be6621a0dde5e3bbf648d5a8a64
Author: Matthias Clasen <mclasen redhat com>
Date: Wed May 7 00:16:31 2014 -0400
inspector: Drop an unused function
modules/inspector/inspect-button.c | 12 ------------
modules/inspector/window.h | 2 --
2 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/modules/inspector/inspect-button.c b/modules/inspector/inspect-button.c
index a7ea24c..fe438ff 100644
--- a/modules/inspector/inspect-button.c
+++ b/modules/inspector/inspect-button.c
@@ -292,18 +292,6 @@ on_inspect (GtkWidget *button,
gtk_grab_add (GTK_WIDGET (button));
}
-GtkWidget *
-gtk_inspector_inspect_button_new (GtkInspectorWindow *iw)
-{
- GtkWidget *button;
-
- button = gtk_button_new_from_icon_name ("edit-find", GTK_ICON_SIZE_BUTTON);
- gtk_widget_set_tooltip_text (button, _("Inspect"));
- g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (on_inspect), iw);
-
- return button;
-}
-
static gboolean
draw_flash (GtkWidget *widget,
cairo_t *cr,
diff --git a/modules/inspector/window.h b/modules/inspector/window.h
index 0c5e9cc..b070b0f 100644
--- a/modules/inspector/window.h
+++ b/modules/inspector/window.h
@@ -74,8 +74,6 @@ GtkWidget *gtk_inspector_window_new (void);
void gtk_inspector_flash_widget (GtkInspectorWindow *iw,
GtkWidget *widget);
-GtkWidget *gtk_inspector_inspect_button_new (GtkInspectorWindow *iw);
-
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]