mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
inspector: Drop an unused function
This commit is contained in:
parent
e586af3cf4
commit
a3713b51ff
@ -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,
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user