diff --git a/ChangeLog b/ChangeLog index 45f3662aa..729abbc5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-02-06 Havoc Pennington + + * src/theme.c (colorize_pixbuf): handle out-of-memory creating + target pixbuf + + * src/themes/Crux/*.png: convert the green-channel images to grayscale + 2002-02-06 Havoc Pennington * src/prefs.c (change_notify): s/update_focus_mode/update_theme/ diff --git a/src/theme.c b/src/theme.c index b98c6135a..74707694a 100644 --- a/src/theme.c +++ b/src/theme.c @@ -70,6 +70,9 @@ colorize_pixbuf (GdkPixbuf *orig, gdk_pixbuf_get_bits_per_sample (orig), gdk_pixbuf_get_width (orig), gdk_pixbuf_get_height (orig)); + if (pixbuf == NULL) + return NULL; + orig_rowstride = gdk_pixbuf_get_rowstride (orig); dest_rowstride = gdk_pixbuf_get_rowstride (pixbuf); width = gdk_pixbuf_get_width (pixbuf); diff --git a/src/themes/Crux/active-bottom-left-border.png b/src/themes/Crux/active-bottom-left-border.png index 520c35705..c6657c6d9 100644 Binary files a/src/themes/Crux/active-bottom-left-border.png and b/src/themes/Crux/active-bottom-left-border.png differ diff --git a/src/themes/Crux/active-bottom-left-corner.png b/src/themes/Crux/active-bottom-left-corner.png index 447f26662..b1f0c7064 100644 Binary files a/src/themes/Crux/active-bottom-left-corner.png and b/src/themes/Crux/active-bottom-left-corner.png differ diff --git a/src/themes/Crux/active-bottom-mid-left-border.png b/src/themes/Crux/active-bottom-mid-left-border.png index 7fa6adfa8..7eec69f55 100644 Binary files a/src/themes/Crux/active-bottom-mid-left-border.png and b/src/themes/Crux/active-bottom-mid-left-border.png differ diff --git a/src/themes/Crux/active-left-border.png b/src/themes/Crux/active-left-border.png index b030796f9..eb74fe879 100644 Binary files a/src/themes/Crux/active-left-border.png and b/src/themes/Crux/active-left-border.png differ diff --git a/src/themes/Crux/active-left-top-border-shaded.png b/src/themes/Crux/active-left-top-border-shaded.png index 5f7a161ec..a9e775ac3 100644 Binary files a/src/themes/Crux/active-left-top-border-shaded.png and b/src/themes/Crux/active-left-top-border-shaded.png differ diff --git a/src/themes/Crux/active-left-top-border.png b/src/themes/Crux/active-left-top-border.png index 0a6dcd31f..7268769fe 100644 Binary files a/src/themes/Crux/active-left-top-border.png and b/src/themes/Crux/active-left-top-border.png differ diff --git a/src/themes/Crux/active-menu-button-prelight.png b/src/themes/Crux/active-menu-button-prelight.png index a050a1797..794f6db2e 100644 Binary files a/src/themes/Crux/active-menu-button-prelight.png and b/src/themes/Crux/active-menu-button-prelight.png differ diff --git a/src/themes/Crux/active-menu-button-pressed.png b/src/themes/Crux/active-menu-button-pressed.png index 95ea391a7..dbdc18ed8 100644 Binary files a/src/themes/Crux/active-menu-button-pressed.png and b/src/themes/Crux/active-menu-button-pressed.png differ diff --git a/src/themes/Crux/active-menu-button.png b/src/themes/Crux/active-menu-button.png index 6cd47c7a3..8b110f587 100644 Binary files a/src/themes/Crux/active-menu-button.png and b/src/themes/Crux/active-menu-button.png differ diff --git a/src/themes/Crux/active-top-center-left.png b/src/themes/Crux/active-top-center-left.png index 2c6e7edbb..7275abb04 100644 Binary files a/src/themes/Crux/active-top-center-left.png and b/src/themes/Crux/active-top-center-left.png differ diff --git a/src/themes/Crux/active-top-center-mid-left.png b/src/themes/Crux/active-top-center-mid-left.png index 7a3904a06..56678367a 100644 Binary files a/src/themes/Crux/active-top-center-mid-left.png and b/src/themes/Crux/active-top-center-mid-left.png differ diff --git a/src/themes/Crux/active-top-left-border.png b/src/themes/Crux/active-top-left-border.png index 1bb473615..3826e86ab 100644 Binary files a/src/themes/Crux/active-top-left-border.png and b/src/themes/Crux/active-top-left-border.png differ diff --git a/src/themes/Crux/inactive-menu-button-prelight.png b/src/themes/Crux/inactive-menu-button-prelight.png index d2063d5be..ecf6f9405 100644 Binary files a/src/themes/Crux/inactive-menu-button-prelight.png and b/src/themes/Crux/inactive-menu-button-prelight.png differ diff --git a/src/themes/Crux/inactive-menu-button-pressed.png b/src/themes/Crux/inactive-menu-button-pressed.png index c69c03567..a3a4ab842 100644 Binary files a/src/themes/Crux/inactive-menu-button-pressed.png and b/src/themes/Crux/inactive-menu-button-pressed.png differ