After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 167081 - use gtk_window_set_default_icon
use gtk_window_set_default_icon
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-11 15:27 UTC by Vincent Noel
Modified: 2005-03-21 21:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Noel 2005-02-11 15:27:00 UTC
Patch :

Index: shell/main.c
===================================================================
RCS file: /cvs/gnome/eog/shell/main.c,v
retrieving revision 1.45
diff -u -p -r1.45 main.c
--- shell/main.c        11 Feb 2005 15:24:21 -0000      1.45
+++ shell/main.c        11 Feb 2005 15:25:35 -0000
@@ -6,7 +6,6 @@
 #include <glib/gi18n.h>
 #include <libgnomeui/gnome-client.h>
 #include <libgnomeui/gnome-ui-init.h>
-#include <libgnomeui/gnome-window-icon.h>
 #include <gconf/gconf-client.h>
 #include "eog-hig-dialog.h"
 #include "eog-window.h"
@@ -533,7 +532,7 @@ main (int argc, char **argv)

        gnome_authentication_manager_init ();

-       gnome_window_icon_set_default_from_file (EOG_ICONDIR"/gnome-eog.png");
+       gtk_window_set_default_icon_from_file (EOG_ICONDIR"/gnome-eog.png", NULL);

        client = gnome_master_client ();
Comment 1 Jens Finke 2005-03-21 21:31:50 UTC
Applied to head. Thanks for the hint.