[niepce] * eog-thumb-view.cpp: Fix a warning.
- From: Hubert Figuière <hub src gnome org>
- To: svn-commits-list gnome org
- Subject: [niepce] * eog-thumb-view.cpp: Fix a warning.
- Date: Sat, 2 May 2009 19:48:42 -0400 (EDT)
commit 20348d0c8da25acbe8d578e3d8b03cb2dd45e978
Author: Hubert Figuiere <hub figuiere net>
Date: Sat May 2 19:47:32 2009 -0400
* eog-thumb-view.cpp: Fix a warning.
---
ChangeLog | 2 ++
src/niepce/ui/thumb-view/eog-thumb-view.cpp | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7df0675..7895475 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2009-05-02 Hubert Figuiere <hub figuiere net>
+ * eog-thumb-view.cpp: Fix a warning.
+
* Get rid of gnomevfs.
* Rename all C++ .h to .hpp
diff --git a/src/niepce/ui/thumb-view/eog-thumb-view.cpp b/src/niepce/ui/thumb-view/eog-thumb-view.cpp
index 54a7a32..263a39c 100644
--- a/src/niepce/ui/thumb-view/eog-thumb-view.cpp
+++ b/src/niepce/ui/thumb-view/eog-thumb-view.cpp
@@ -50,8 +50,8 @@ G_DEFINE_TYPE (EogThumbView, eog_thumb_view, GTK_TYPE_ICON_VIEW)
//static EogImage* eog_thumb_view_get_image_from_path (EogThumbView *tb,
// GtkTreePath *path);
-static void eog_thumb_view_popup_menu (EogThumbView *widget,
- GdkEventButton *event);
+//static void eog_thumb_view_popup_menu (EogThumbView *widget,
+// GdkEventButton *event);
struct _EogThumbViewPrivate {
gint start_thumb; /* the first visible thumbnail */
@@ -761,7 +761,6 @@ eog_thumb_view_set_thumbnail_popup (EogThumbView *tb,
G_CALLBACK (tb_on_button_press_event_cb), NULL);
}
-#endif
static void
@@ -783,3 +782,4 @@ eog_thumb_view_popup_menu (EogThumbView *tb, GdkEventButton *event)
gtk_menu_popup (GTK_MENU (popup), NULL, NULL, NULL, NULL,
button, event_time);
}
+#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]