summaryrefslogtreecommitdiff
path: root/src/progress.c
diff options
context:
space:
mode:
authorLucas Rocha <lucasr@gnome.org>2007-05-14 21:26:08 +0000
committerLucas Almeida Rocha <lucasr@src.gnome.org>2007-05-14 21:26:08 +0000
commitadee9db56646cc297fd226db983d40f3ba0d4793 (patch)
tree467c9cea6ada89b472267c3d65a47be919c75867 /src/progress.c
parent5c1ff4ebd1cb580b54320c6f0ed8f8f4215810ab (diff)
general cleanups for build warnings (Fixes bug #416196). Patch from
2007-05-14 Lucas Rocha <lucasr@gnome.org> * 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 <kmaraas@gnome.org>. svn path=/trunk/; revision=1208
Diffstat (limited to 'src/progress.c')
-rw-r--r--src/progress.c2
1 files changed, 0 insertions, 2 deletions
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) {