+2006-08-03 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkstyle.c: removed the "widget &&" part from
+ "widget && GTK_IS_FOO (widget)" checks.
+
2006-07-13 Michael Emmel <mike.emmel@gmail.com>
* gdk/directfb/gdkwindow-directfb.c
+2006-08-03 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkstyle.c: removed the "widget &&" part from
+ "widget && GTK_IS_FOO (widget)" checks.
+
2006-07-13 Michael Emmel <mike.emmel@gmail.com>
* gdk/directfb/gdkwindow-directfb.c
if (shadow_type == GTK_SHADOW_IN)
{
- if (detail && (strcmp (detail, "buttondefault") == 0))
+ if (detail && strcmp (detail, "buttondefault") == 0)
{
sanitize_size (window, &width, &height);
x, y, width, height);
return;
}
- if (widget && GTK_IS_SPIN_BUTTON (widget) &&
+ if (GTK_IS_SPIN_BUTTON (widget) &&
detail && strcmp (detail, "spinbutton") == 0)
{
draw_spinbutton_shadow (style, window, state_type,
}
if (shadow_type == GTK_SHADOW_IN &&
- widget && GTK_IS_SPIN_BUTTON (widget) &&
+ GTK_IS_SPIN_BUTTON (widget) &&
detail && strcmp (detail, "entry") == 0)
{
if (get_direction (widget) == GTK_TEXT_DIR_LTR)
sanitize_size (window, &width, &height);
- if (widget && GTK_IS_SPIN_BUTTON (widget) && detail)
+ if (GTK_IS_SPIN_BUTTON (widget) && detail)
{
if (strcmp (detail, "spinbutton_up") == 0)
{