Remove unused url_hook_about_dialog function
This commit is contained in:
@@ -45,6 +45,7 @@ struct _XtmProcessWindowClass
|
||||
{
|
||||
GtkWidgetClass parent_class;
|
||||
};
|
||||
|
||||
struct _XtmProcessWindow
|
||||
{
|
||||
GtkWidget parent;
|
||||
@@ -84,7 +85,7 @@ filter_entry_icon_pressed_cb (GtkEntry *entry,
|
||||
{
|
||||
if (position == GTK_ENTRY_ICON_SECONDARY) {
|
||||
gtk_entry_set_text (entry, "");
|
||||
gtk_widget_grab_focus(GTK_WIDGET(entry));
|
||||
gtk_widget_grab_focus (GTK_WIDGET(entry));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -456,19 +457,6 @@ monitor_update_step_size (XtmProcessWindow *window)
|
||||
g_object_set (window->mem_monitor, "step-size", refresh_rate / 1000.0, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
url_hook_about_dialog (GtkAboutDialog *dialog, const gchar *uri, gpointer user_data)
|
||||
{
|
||||
gchar *command = g_strdup_printf ("exo-open %s", uri);
|
||||
if (!g_spawn_command_line_async (command, NULL))
|
||||
{
|
||||
g_free (command);
|
||||
command = g_strdup_printf ("firefox %s", uri);
|
||||
g_spawn_command_line_async (command, NULL);
|
||||
}
|
||||
g_free (command);
|
||||
}
|
||||
|
||||
static void
|
||||
show_about_dialog (XtmProcessWindow *window)
|
||||
{
|
||||
@@ -517,8 +505,6 @@ show_about_dialog (XtmProcessWindow *window)
|
||||
NULL);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Class functions
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user