eel r2031 - in trunk: . eel
- From: ssp svn gnome org
- To: svn-commits-list gnome org
- Subject: eel r2031 - in trunk: . eel
- Date: Fri, 25 Jan 2008 19:29:00 +0000 (GMT)
Author: ssp
Date: Fri Jan 25 19:28:59 2008
New Revision: 2031
URL: http://svn.gnome.org/viewvc/eel?rev=2031&view=rev
Log:
Fri Jan 25 14:08:11 2008 SÃren Sandmann <sandmann redhat com>
* eel/eel-background.c: Add #define GNOME_DESKTOP_USE_UNSTABLE_API
before including gnome-bg.h
* eel/eel-background.c: Delete eel_background_set_is_constant_size().
Modified:
trunk/ChangeLog
trunk/eel/eel-background.c
trunk/eel/eel-background.h
Modified: trunk/eel/eel-background.c
==============================================================================
--- trunk/eel/eel-background.c (original)
+++ trunk/eel/eel-background.c Fri Jan 25 19:28:59 2008
@@ -42,6 +42,7 @@
#include <gio/gio.h>
#include <math.h>
#include <stdio.h>
+#define GNOME_DESKTOP_USE_UNSTABLE_API
#include <libgnomeui/gnome-bg.h>
static void eel_background_class_init (gpointer klass);
@@ -200,13 +201,6 @@
EEL_CALL_PARENT (G_OBJECT_CLASS, finalize, (object));
}
-void
-eel_background_set_is_constant_size (EelBackground *background,
- gboolean constant_size)
-{
- /* FIXME: nautilus calls this function; that call should just be deleted */
-}
-
EelBackgroundImagePlacement
eel_background_get_image_placement (EelBackground *background)
{
Modified: trunk/eel/eel-background.h
==============================================================================
--- trunk/eel/eel-background.h (original)
+++ trunk/eel/eel-background.h Fri Jan 25 19:28:59 2008
@@ -86,16 +86,6 @@
void eel_background_set_image_placement (EelBackground *background,
EelBackgroundImagePlacement placement);
-/* Set this if you know that the widget/window will never change its
- * size. This means that EelBackground can use background pixmaps
- * even for backgrounds that otherwise would change when the size
- * chages. The important user is the nautilus desktop window.
- *
- * This function can be deleted - it is a no-op. Users should call set_desktop() instead
- */
-void eel_background_set_is_constant_size (EelBackground *background,
- gboolean constant_size);
-
/* Should be TRUE for desktop background */
void eel_background_set_desktop (EelBackground *background,
GtkWidget *widget,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]