+2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
+
+ * cut-n-paste/recent-files/egg-recent-item.c:
+ (egg_recent_item_get_short_name):
+ * cut-n-paste/toolbar-editor/Makefile.am:
+ * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
+ (new_pixbuf_from_widget):
+ * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
+ * cut-n-paste/toolbar-editor/egg-marshal.c:
+ * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
+ * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
+
+ Sync
+
Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
* tiff/tiff-document.c: Rough TIFF backend.
return NULL;
short_name = gnome_vfs_uri_extract_short_name (uri);
+ if (short_name == NULL) {
+ gnome_vfs_uri_unref (uri);
+ return NULL;
+ }
+
valid = FALSE;
if (strcmp (gnome_vfs_uri_get_scheme (uri), "file") == 0) {
noinst_LTLIBRARIES = libtoolbareditor.la
-libtoolbareditor_la_SOURCES = \
+EGGSOURCES = \
egg-toolbars-model.c \
egg-editable-toolbar.c \
- egg-toolbar-editor.c \
- egg-marshal.c \
- eggmarshalers.c
+ egg-toolbar-editor.c
-noinst_HEADERS = \
+EGGHEADERS = \
+ eggintl.h \
egg-toolbars-model.h \
egg-editable-toolbar.h \
- egg-toolbar-editor.h \
+ egg-toolbar-editor.h
+
+libtoolbareditor_la_SOURCES = \
+ $(EGGSOURCES) \
+ eggmarshalers.c
+
+noinst_HEADERS = \
+ $(EGGHEADERS) \
eggmarshalers.h
BUILT_SOURCES = eggmarshalers.h eggmarshalers.c
EXTRA_DIST= \
eggmarshalers.list
+EGGFILES=$(EGGSOURCES) $(EGGHEADERS)
EGGDIR=$(srcdir)/../../../libegg/libegg
regenerate-built-sources:
EGGFILES="$(EGGFILES) eggmarshalers.list" EGGDIR="$(EGGDIR)" $(top_srcdir)/cut-n-paste/update-from-egg.sh
/* Create a pixmap */
visual = gtk_widget_get_visual (window);
- pixmap = gdk_pixmap_new (NULL, icon_width, icon_height, gdk_visual_get_best_depth());
+ pixmap = gdk_pixmap_new (NULL, icon_width, icon_height, visual->depth);
gdk_drawable_set_colormap (GDK_DRAWABLE (pixmap), gtk_widget_get_colormap (window));
/* Draw the window */
+++ /dev/null
-#include "eggmarshalers.h"
-#include "eggmarshalers.c"
-
#include "egg-toolbar-editor.h"
#include "egg-editable-toolbar.h"
+#include "eggintl.h"
#include <string.h>
-#include <glib/gi18n.h>
#include <libxml/tree.h>
#include <gtk/gtkimage.h>
#include <gtk/gtkeventbox.h>