mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 13:10:07 +00:00
added a missing cast.
2003-06-02 Sven Neumann <sven@gimp.org> * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast. * gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.
This commit is contained in:
parent
5d15f30279
commit
b5059b9873
@ -1,3 +1,9 @@
|
|||||||
|
2003-06-02 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
|
||||||
|
|
||||||
|
* gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.
|
||||||
|
|
||||||
2003-06-01 Matthias Clasen <maclas@gmx.de>
|
2003-06-01 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add
|
* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2003-06-02 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
|
||||||
|
|
||||||
|
* gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.
|
||||||
|
|
||||||
2003-06-01 Matthias Clasen <maclas@gmx.de>
|
2003-06-01 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add
|
* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2003-06-02 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
|
||||||
|
|
||||||
|
* gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.
|
||||||
|
|
||||||
2003-06-01 Matthias Clasen <maclas@gmx.de>
|
2003-06-01 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add
|
* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2003-06-02 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
|
||||||
|
|
||||||
|
* gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.
|
||||||
|
|
||||||
2003-06-01 Matthias Clasen <maclas@gmx.de>
|
2003-06-01 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add
|
* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2003-06-02 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
|
||||||
|
|
||||||
|
* gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.
|
||||||
|
|
||||||
2003-06-01 Matthias Clasen <maclas@gmx.de>
|
2003-06-01 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add
|
* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add
|
||||||
|
@ -217,7 +217,6 @@ gdk_rgb_try_colormap (GdkRgbInfo *image_info, gboolean force,
|
|||||||
GdkColormap *cmap;
|
GdkColormap *cmap;
|
||||||
GdkColor color;
|
GdkColor color;
|
||||||
gulong pixels[256];
|
gulong pixels[256];
|
||||||
gulong junk[256];
|
|
||||||
gint i;
|
gint i;
|
||||||
gint d2;
|
gint d2;
|
||||||
gint colors_needed;
|
gint colors_needed;
|
||||||
|
@ -381,7 +381,7 @@ gtk_progress_changed (GtkAdjustment *adjustment,
|
|||||||
* the size request
|
* the size request
|
||||||
*/
|
*/
|
||||||
if (progress->use_text_format && progress->show_text)
|
if (progress->use_text_format && progress->show_text)
|
||||||
gtk_widget_queue_resize (progress);
|
gtk_widget_queue_resize (GTK_WIDGET (progress));
|
||||||
else
|
else
|
||||||
GTK_PROGRESS_GET_CLASS (progress)->update (progress);
|
GTK_PROGRESS_GET_CLASS (progress)->update (progress);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user