[gnome-commander] intviewwr: replacing obsoleted gtk_signal_new() with g_signal_new()



commit ed848dda0ee2fd14faacd97a931f98ae49b160af
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sat Jan 22 23:06:13 2011 +0100

    intviewwr: replacing obsoleted gtk_signal_new() with g_signal_new()

 src/intviewer/viewer-widget.cc |    2 +-
 src/intviewer/viewer-widget.h  |    2 +-
 src/intviewer/viewer-window.cc |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/intviewer/viewer-widget.cc b/src/intviewer/viewer-widget.cc
index f0372c4..a856a2b 100644
--- a/src/intviewer/viewer-widget.cc
+++ b/src/intviewer/viewer-widget.cc
@@ -624,7 +624,7 @@ void gviewer_image_operation(GViewer *obj, IMAGEOPERATION op)
 }
 
 
-void gviewer_copy_selection(GViewer *obj)
+void gviewer_copy_selection(GtkMenuItem *item, GViewer *obj)
 {
     g_return_if_fail (obj!= NULL);
     g_return_if_fail (IS_GVIEWER (obj));
diff --git a/src/intviewer/viewer-widget.h b/src/intviewer/viewer-widget.h
index a6a5777..df4495a 100644
--- a/src/intviewer/viewer-widget.h
+++ b/src/intviewer/viewer-widget.h
@@ -95,7 +95,7 @@ void        gviewer_set_scale_factor(GViewer *obj, double scalefactor);
 double      gviewer_get_scale_factor(GViewer *obj);
 
 void        gviewer_image_operation(GViewer *obj, IMAGEOPERATION op);
-void        gviewer_copy_selection(GViewer *obj);
+void        gviewer_copy_selection(GtkMenuItem *item, GViewer *obj);
 
 TextRender  *gviewer_get_text_render(GViewer *obj);
 
diff --git a/src/intviewer/viewer-window.cc b/src/intviewer/viewer-window.cc
index ccf6eec..fce1975 100644
--- a/src/intviewer/viewer-window.cc
+++ b/src/intviewer/viewer-window.cc
@@ -1096,7 +1096,7 @@ static void menu_edit_copy(GtkMenuItem *item, GViewerWindow *obj)
     g_return_if_fail (obj);
     g_return_if_fail (obj->priv->viewer);
 
-    gviewer_copy_selection(obj->priv->viewer);
+    gviewer_copy_selection(item, obj->priv->viewer);
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]