From adee9db56646cc297fd226db983d40f3ba0d4793 Mon Sep 17 00:00:00 2001 From: Lucas Rocha Date: Mon, 14 May 2007 21:26:08 +0000 Subject: general cleanups for build warnings (Fixes bug #416196). Patch from 2007-05-14 Lucas Rocha * src/progress.c (zenity_progress_handle_stdin), src/option.c (zenity_create_context), src/about.c, src/notification.c (zenity_notification_handle_stdin): general cleanups for build warnings (Fixes bug #416196). Patch from Kjartan Maraas . svn path=/trunk/; revision=1208 --- src/progress.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/progress.c') diff --git a/src/progress.c b/src/progress.c index d14969b..b8ac1fc 100644 --- a/src/progress.c +++ b/src/progress.c @@ -135,7 +135,6 @@ zenity_progress_handle_stdin (GIOChannel *channel, if (condition != G_IO_IN) { /* We assume that we are done, so stop the pulsating and de-sensitize the buttons */ GtkWidget *button; - GtkWidget *progress_bar; button = glade_xml_get_widget (glade_dialog, "zenity_progress_ok_button"); gtk_widget_set_sensitive (button, TRUE); @@ -144,7 +143,6 @@ zenity_progress_handle_stdin (GIOChannel *channel, button = glade_xml_get_widget (glade_dialog, "zenity_progress_cancel_button"); gtk_widget_set_sensitive (button, FALSE); - progress_bar = glade_xml_get_widget (glade_dialog, "zenity_progress_bar"); gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), 1.0); if (progress_data->pulsate) { -- cgit v1.2.3-54-g00ecf