remove GtkTooltips member from the GtkFileChooserDefault struct.

2008-06-16  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
	GtkFileChooserDefault struct.

	* gtk/gtkfilechooserdefault.c: don't allocate and free the
	GtkTooltips.


svn path=/trunk/; revision=20396
This commit is contained in:
Michael Natterer
2008-06-16 11:49:23 +00:00
committed by Michael Natterer
parent 6afb455e5a
commit 5337cdbb10
3 changed files with 11 additions and 11 deletions

View File

@ -1,3 +1,11 @@
2008-06-16 Michael Natterer <mitch@imendio.com>
* gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
GtkFileChooserDefault struct.
* gtk/gtkfilechooserdefault.c: don't allocate and free the
GtkTooltips.
2008-06-16 Carlos Garnacho <carlos@imendio.com> 2008-06-16 Carlos Garnacho <carlos@imendio.com>
Bug 538519 GtkCellRendererPixbuf doesn't allow unsetting the icon Bug 538519 GtkCellRendererPixbuf doesn't allow unsetting the icon

View File

@ -832,9 +832,6 @@ _gtk_file_chooser_default_init (GtkFileChooserDefault *impl)
gtk_box_set_spacing (GTK_BOX (impl), 12); gtk_box_set_spacing (GTK_BOX (impl), 12);
impl->tooltips = gtk_tooltips_new ();
g_object_ref_sink (impl->tooltips);
set_file_system_backend (impl); set_file_system_backend (impl);
profile_end ("end", NULL); profile_end ("end", NULL);
@ -1003,8 +1000,6 @@ gtk_file_chooser_default_finalize (GObject *object)
g_free (impl->edited_new_text); g_free (impl->edited_new_text);
g_object_unref (impl->tooltips);
G_OBJECT_CLASS (_gtk_file_chooser_default_parent_class)->finalize (object); G_OBJECT_CLASS (_gtk_file_chooser_default_parent_class)->finalize (object);
} }

View File

@ -28,7 +28,6 @@
#include "gtkrecentmanager.h" #include "gtkrecentmanager.h"
#include "gtksearchengine.h" #include "gtksearchengine.h"
#include "gtkquery.h" #include "gtkquery.h"
#include "gtktooltips.h"
#include "gtktreemodelsort.h" #include "gtktreemodelsort.h"
#include "gtktreestore.h" #include "gtktreestore.h"
#include "gtktreeview.h" #include "gtktreeview.h"
@ -253,8 +252,6 @@ struct _GtkFileChooserDefault
GtkFileFilter *current_filter; GtkFileFilter *current_filter;
GSList *filters; GSList *filters;
GtkTooltips *tooltips;
int num_volumes; int num_volumes;
int num_shortcuts; int num_shortcuts;
int num_bookmarks; int num_bookmarks;