Commit 0bf8e61f authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Fix some compiler warnings.

2007-01-04  Matthias Clasen  <mclasen@redhat.com>

        * demos/gtk-demo/textscroll.c:
        * gtk/gtkhandlebox.c:
        * gtk/gtkcolorsel.c: Fix some compiler warnings.



svn path=/trunk/; revision=17063
parent 6fb261bb
2007-01-04 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/textscroll.c:
* gtk/gtkhandlebox.c:
* gtk/gtkcolorsel.c: Fix some compiler warnings.
2007-01-03 Matthias Clasen <mclasen@redhat.com>
......
......@@ -109,7 +109,6 @@ setup_scroll (GtkTextView *textview,
{
GtkTextBuffer *buffer;
GtkTextIter iter;
GtkTextMark *mark;
buffer = gtk_text_view_get_buffer (textview);
gtk_text_buffer_get_end_iter (buffer, &iter);
......@@ -179,7 +178,6 @@ do_textscroll (GtkWidget *do_widget)
if (!window)
{
GtkWidget *hbox;
GtkWidget *swindow;
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
g_signal_connect (window, "destroy",
......
......@@ -923,6 +923,9 @@ gtk_handle_box_paint (GtkWidget *widget,
rect.height = DRAG_HANDLE_SIZE;
handle_orientation = GTK_ORIENTATION_HORIZONTAL;
break;
default:
g_assert_not_reached ();
break;
}
if (gdk_rectangle_intersect (event ? &event->area : area, &rect, &dest))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment