diff options
author | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-08-29 02:11:38 +0000 |
---|---|---|
committer | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-08-29 02:11:38 +0000 |
commit | f7276747ab4240532078ae7d4385ef0a705f82a0 (patch) | |
tree | cdca9cedf1cdcfb29d1f4c3cde3ddd37df7f6b47 /libnautilus-extensions/nautilus-label.h | |
parent | b23f4b14cc0553f49e3fd42441ed4832b13a6023 (diff) | |
download | nautilus-f7276747ab4240532078ae7d4385ef0a705f82a0.tar.gz |
Add unref/ref functions for gcs that take NULL.
* libnautilus-extensions/nautilus-buffered-widget.c:
(nautilus_buffered_widget_initialize),
(nautilus_buffered_widget_destroy),
(buffered_widget_update_pixbuf),
(create_background_pixbuf_from_none),
(create_background_pixbuf_from_solid),
(create_background_pixbuf_from_ancestor),
(create_background_pixbuf),
(nautilus_buffered_widget_get_vertical_offset),
(nautilus_buffered_widget_set_background_type),
(nautilus_buffered_widget_get_background_type),
(nautilus_buffered_widget_set_background_color),
(nautilus_buffered_widget_get_background_color):
* libnautilus-extensions/nautilus-buffered-widget.h:
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_gdk_gc_ref_if_not_null),
(nautilus_gdk_gc_unref_if_not_null):
* libnautilus-extensions/nautilus-gdk-extensions.h:
Add unref/ref functions for gcs that take NULL.
* libnautilus-extensions/nautilus-label.c: (nautilus_label_new):
* libnautilus-extensions/nautilus-label.h:
Make the constructor work just like GtkLabel by accepting a string.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (add_play_controls):
Use the new NautilusLabel constructor.
* components/services/nautilus-dependent-shared/shared-service-widg
ets.c: (create_label_widget):
Use the new NautilusLabel constructor.
* src/nautilus-first-time-druid.c: (make_anti_aliased_label),
(set_up_update_feedback_page):
Use the new NautilusLabel constructor.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(make_properties_from_directory_path),
(make_properties_from_xml_node), (make_category_link):
Use the new NautilusLabel constructor.
Fix the tile names to be antialises by using the new buffered
widget SOLID background mode.
* src/nautilus-sidebar-title.c:
(sidebar_create_smooth_components_if_needed):
Use the new NautilusLabel constructor.
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize):
Use the new NautilusLabel constructor.
* test/test-nautilus-image.c: (main):
* test/test-nautilus-label.c: (main):
Use the new NautilusLabel constructor.
Diffstat (limited to 'libnautilus-extensions/nautilus-label.h')
-rw-r--r-- | libnautilus-extensions/nautilus-label.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libnautilus-extensions/nautilus-label.h b/libnautilus-extensions/nautilus-label.h index 7a9363b55..d76d049eb 100644 --- a/libnautilus-extensions/nautilus-label.h +++ b/libnautilus-extensions/nautilus-label.h @@ -71,7 +71,7 @@ struct _NautilusLabelClass }; GtkType nautilus_label_get_type (void); -GtkWidget * nautilus_label_new (void); +GtkWidget * nautilus_label_new (const char *text); void nautilus_label_set_text (NautilusLabel *label, const char *text); char* nautilus_label_get_text (NautilusLabel *label); @@ -105,7 +105,6 @@ void nautilus_label_set_drop_shadow_color (NautilusLabel guint32 color); guint32 nautilus_label_get_drop_shadow_color (const NautilusLabel *label); - END_GNOME_DECLS #endif /* NAUTILUS_LABEL_H */ |