diff options
author | Havoc Pennington <hp@redhat.com> | 2000-12-04 16:11:51 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-12-04 16:11:51 +0000 |
commit | 9cca191b6adda9c3e7a509769cb0442a84ac2794 (patch) | |
tree | bda4fbef13284b0c6485be43915661eb2eeb25be /gtk/gtkcolorsel.c | |
parent | 15c81f52d39865d2780f46a43ff906af539fe4c8 (diff) | |
download | gdk-pixbuf-9cca191b6adda9c3e7a509769cb0442a84ac2794.tar.gz |
Fix bugs Alex found:
2000-12-04 Havoc Pennington <hp@redhat.com>
Fix bugs Alex found:
* gtk/gtktooltips.c (gtk_tooltips_force_window): nuke connection
to "draw"
* gtk/gtkdnd.c (gtk_drag_highlight): nuke connection to "draw"
* gtk/gtkcolorsel.c (palette_new): nuke connection to "draw"
* gtk/gtklistitem.c (gtk_list_item_expose): Put the old _draw()
implementation in here, apparently the expose() implementation was
dead code.
Diffstat (limited to 'gtk/gtkcolorsel.c')
-rw-r--r-- | gtk/gtkcolorsel.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c index e7c10694d..4bcce9934 100644 --- a/gtk/gtkcolorsel.c +++ b/gtk/gtkcolorsel.c @@ -622,14 +622,6 @@ palette_press (GtkWidget *drawing_area, } static void -palette_draw (GtkWidget *drawing_area, - GdkRectangle *area, - gpointer data) -{ - palette_paint (drawing_area, area, data); -} - -static void palette_unset_color (GtkWidget *drawing_area) { if (GPOINTER_TO_INT (gtk_object_get_data (GTK_OBJECT (drawing_area), "color_set")) == 0) @@ -819,7 +811,6 @@ palette_new (GtkColorSelection *colorsel) gtk_object_set_data (GTK_OBJECT (retval), "color_set", GINT_TO_POINTER (0)); gtk_widget_set_events (retval, GDK_BUTTON_PRESS_MASK | GDK_EXPOSURE_MASK); - gtk_signal_connect (GTK_OBJECT (retval), "draw", palette_draw, colorsel); gtk_signal_connect (GTK_OBJECT (retval), "expose_event", palette_expose, colorsel); gtk_signal_connect (GTK_OBJECT (retval), "button_press_event", palette_press, colorsel); |