Commit 6fb261bb authored by Matthias Clasen's avatar Matthias Clasen

Fix compiler warnings

svn path=/trunk/; revision=17062
parent b298dfbe
2007-01-04 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcolorsel.c: Fix some compiler warnings.
2007-01-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c: Rework the beep-on-uninserted-text
......
......@@ -787,6 +787,7 @@ palette_change_color (GtkWidget *drawing_area,
gdk_color.red = UNSCALE (color[0]);
gdk_color.green = UNSCALE (color[1]);
gdk_color.blue = UNSCALE (color[2]);
gdk_color.pixel = 0;
x = 0;
y = 0; /* Quiet GCC */
......@@ -1441,7 +1442,7 @@ get_screen_color (GtkWidget *button)
gtk_widget_add_events (grab_widget,
GDK_BUTTON_RELEASE_MASK | GDK_BUTTON_PRESS_MASK | GDK_POINTER_MOTION_MASK);
toplevel = gtk_widget_get_toplevel (colorsel);
toplevel = gtk_widget_get_toplevel (GTK_WIDGET (colorsel));
if (GTK_IS_WINDOW (toplevel))
{
......
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