[gnome-color-manager] Fix a critical warning when starting gcm-viewer
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Fix a critical warning when starting gcm-viewer
- Date: Fri, 16 Oct 2015 07:51:06 +0000 (UTC)
commit c58e68f86068049237e599243ccbbb90abfc2bde
Author: Richard Hughes <richard hughsie com>
Date: Wed Oct 14 16:11:38 2015 +0100
Fix a critical warning when starting gcm-viewer
src/gcm-viewer.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/gcm-viewer.c b/src/gcm-viewer.c
index feb2ba8..bc28c33 100644
--- a/src/gcm-viewer.c
+++ b/src/gcm-viewer.c
@@ -161,15 +161,6 @@ gcm_viewer_image_prev_cb (GtkWidget *widget, GcmViewerPrivate *viewer)
}
/**
- * gcm_viewer_button_close_cb:
- **/
-static void
-gcm_viewer_button_close_cb (GtkWidget *widget, GcmViewerPrivate *viewer)
-{
- g_application_release (G_APPLICATION (viewer->application));
-}
-
-/**
* gcm_viewer_profile_kind_to_icon_name:
**/
static const gchar *
@@ -1620,9 +1611,6 @@ gcm_viewer_startup_cb (GApplication *application, GcmViewerPrivate *viewer)
widget = GTK_WIDGET (gtk_builder_get_object (viewer->builder, "button_image_prev1"));
g_signal_connect (widget, "clicked",
G_CALLBACK (gcm_viewer_image_prev_cb), viewer);
- widget = GTK_WIDGET (gtk_builder_get_object (viewer->builder, "button_close"));
- g_signal_connect (widget, "clicked",
- G_CALLBACK (gcm_viewer_button_close_cb), viewer);
/* use named colors */
widget = GTK_WIDGET (gtk_builder_get_object (viewer->builder,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]