Commit f9cc4426 authored by Matthias Clasen's avatar Matthias Clasen

gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these

functions in order to make mouse operation work again in the
color wheel. (#58604)
parent 85a58ddd
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
functions in order to make mouse operation work again in the
color wheel. (#58604)
2001-08-07 James Henstridge <james@daa.com.au> 2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
......
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
functions in order to make mouse operation work again in the
color wheel. (#58604)
2001-08-07 James Henstridge <james@daa.com.au> 2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
......
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
functions in order to make mouse operation work again in the
color wheel. (#58604)
2001-08-07 James Henstridge <james@daa.com.au> 2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
......
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
functions in order to make mouse operation work again in the
color wheel. (#58604)
2001-08-07 James Henstridge <james@daa.com.au> 2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
......
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
functions in order to make mouse operation work again in the
color wheel. (#58604)
2001-08-07 James Henstridge <james@daa.com.au> 2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
......
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
functions in order to make mouse operation work again in the
color wheel. (#58604)
2001-08-07 James Henstridge <james@daa.com.au> 2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
......
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
functions in order to make mouse operation work again in the
color wheel. (#58604)
2001-08-07 James Henstridge <james@daa.com.au> 2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
......
...@@ -87,6 +87,8 @@ enum { ...@@ -87,6 +87,8 @@ enum {
static void gtk_hsv_class_init (GtkHSVClass *class); static void gtk_hsv_class_init (GtkHSVClass *class);
static void gtk_hsv_init (GtkHSV *hsv); static void gtk_hsv_init (GtkHSV *hsv);
static void gtk_hsv_destroy (GtkObject *object); static void gtk_hsv_destroy (GtkObject *object);
static void gtk_hsv_map (GtkWidget *widget);
static void gtk_hsv_unmap (GtkWidget *widget);
static void gtk_hsv_realize (GtkWidget *widget); static void gtk_hsv_realize (GtkWidget *widget);
static void gtk_hsv_unrealize (GtkWidget *widget); static void gtk_hsv_unrealize (GtkWidget *widget);
static void gtk_hsv_size_request (GtkWidget *widget, static void gtk_hsv_size_request (GtkWidget *widget,
...@@ -160,6 +162,8 @@ gtk_hsv_class_init (GtkHSVClass *class) ...@@ -160,6 +162,8 @@ gtk_hsv_class_init (GtkHSVClass *class)
object_class->destroy = gtk_hsv_destroy; object_class->destroy = gtk_hsv_destroy;
widget_class->map = gtk_hsv_map;
widget_class->unmap = gtk_hsv_unmap;
widget_class->realize = gtk_hsv_realize; widget_class->realize = gtk_hsv_realize;
widget_class->unrealize = gtk_hsv_unrealize; widget_class->unrealize = gtk_hsv_unrealize;
widget_class->size_request = gtk_hsv_size_request; widget_class->size_request = gtk_hsv_size_request;
...@@ -261,6 +265,39 @@ gtk_hsv_destroy (GtkObject *object) ...@@ -261,6 +265,39 @@ gtk_hsv_destroy (GtkObject *object)
/* Default signal handlers */ /* Default signal handlers */
/* Map handler for the HSV color selector */
static void
gtk_hsv_map (GtkWidget *widget)
{
GtkHSV *hsv;
HSVPrivate *priv;
hsv = GTK_HSV (widget);
priv = hsv->priv;
GTK_WIDGET_CLASS (parent_class)->map (widget);
gdk_window_show (priv->window);
}
/* Unmap handler for the HSV color selector */
static void
gtk_hsv_unmap (GtkWidget *widget)
{
GtkHSV *hsv;
HSVPrivate *priv;
hsv = GTK_HSV (widget);
priv = hsv->priv;
gdk_window_hide (priv->window);
GTK_WIDGET_CLASS (parent_class)->unmap (widget);
}
/* Realize handler for the HSV color selector */ /* Realize handler for the HSV color selector */
static void static void
gtk_hsv_realize (GtkWidget *widget) gtk_hsv_realize (GtkWidget *widget)
......
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