mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
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
This commit is contained in:
parent
6fb261bbad
commit
0bf8e61f8a
@ -1,5 +1,7 @@
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user