head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2010Q4:1.1.0.60 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.58 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.56 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.54 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.52 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.50 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.48 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.46 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.44 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.42 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.40 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.38 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.36 pkgsrc-2008Q1:1.1.0.34 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.32 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.30 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.28 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.26 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.24 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.22 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.20 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.18 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.16 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.14 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.12 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.10 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.8 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.6 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.4 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.2 pkgsrc-2004Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2011.03.06.16.02.49; author wiz; state dead; branches; next 1.1; 1.1 date 2004.01.19.15.52.40; author cube; state Exp; branches; next ; desc @@ 1.2 log @Remove GTK1 using packages for which noone spoke up for the last two weeks on pkgsrc-users in the thread "[HEADS UP] Package removal -- please check". @ text @$NetBSD: patch-ax,v 1.1 2004/01/19 15:52:40 cube Exp $ --- src/callbacks.c.orig 2000-03-06 22:23:06.000000000 +0100 +++ src/callbacks.c @@@@ -790,18 +790,18 @@@@ void save_config() { void version_dialog() { char msg[1024]; - sprintf(msg, " -Version Information -------------------- - -Current Version: %s - -New features all over the place. Please see -the ChangeLog for more information. - -As always, report bugs gphoto-devel@@gphoto.org - -Thanx much. + sprintf(msg, "\n\ +Version Information\n\ +-------------------\n\ +\n\ +Current Version: %s\n\ +\n\ +New features all over the place. Please see\n\ +the ChangeLog for more information.\n\ +\n\ +As always, report bugs gphoto-devel@@gphoto.org\n\ +\n\ +Thanx much.\n\ ", VERSION); error_dialog(msg); @@@@ -865,27 +865,27 @@@@ void usersmanual_dialog() { void faq_dialog() { error_dialog( -"Please visit http://www.gphoto.org/help.php3 +"Please visit http://www.gphoto.org/help.php3 \n\ for the current FAQ list."); } void show_license() { - error_dialog(" -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - + error_dialog("\n\ +This program is free software; you can redistribute it and/or modify\n\ +it under the terms of the GNU General Public License as published by\n\ +the Free Software Foundation; either version 2 of the License, or\n\ +(at your option) any later version.\n\ +\n\ +This program is distributed in the hope that it will be useful,\n\ +but WITHOUT ANY WARRANTY; without even the implied warranty of\n\ +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\ +GNU General Public License for more details.\n\ +\n\ +You should have received a copy of the GNU General Public License\n\ +along with this program; if not, write to the Free Software\n\ +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n\ +\n\ See http://www.gnu.org for more details on the GNU project."); } @@@@ -1238,9 +1238,9 @@@@ void save_opened_image (int i, char *fil if (gdk_imlib_save_image(node->imlibimage,filename, NULL) == 0) { error_dialog( - "Could not save image. Please make - sure that you typed the image - extension and that permissions for + "Could not save image. Please make\n\ + sure that you typed the image\n\ + extension and that permissions for\n\ the directory are correct."); return; } @@@@ -1370,11 +1370,11 @@@@ void print_pic () { gtk_box_pack_end_defaults(GTK_BOX(hbox),entry); label = gtk_label_new( -"* The filename is appended to the end - of the command. -* The \"-r\" flag is needed to delete - the temporary file. If not used, a - temporary file will be in your $HOME/.gphoto +"* The filename is appended to the end\n\ + of the command.\n\ +* The \"-r\" flag is needed to delete \n\ + the temporary file. If not used, a \n\ + temporary file will be in your $HOME/.gphoto\n\ directory."); gtk_widget_show(label); gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT); @@@@ -1814,9 +1814,9 @@@@ void post_process_change (GtkWidget *wid FALSE, FALSE, 0); label = gtk_label_new( -" -Note: gPhoto will replace \"%s\" in the script command-line -with the full path to the selected image. See the User's Manual +"\n\ +Note: gPhoto will replace \"%s\" in the script command-line\n\ +with the full path to the selected image. See the User's Manual\n\ in the Help menu for more information. "); gtk_widget_show(label); gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT); @@@@ -1832,8 +1832,8 @@@@ in the Help menu for more information. " if ((strstr(gtk_entry_get_text(GTK_ENTRY(script)), "%s") == NULL) && GTK_TOGGLE_BUTTON(pp)->active) { error_dialog( -"Missing \"%s\" in the post-processing entry. -This is required so the post-processing program +"Missing \"%s\" in the post-processing entry.\n\ +This is required so the post-processing program\n\ knows where the image is located."); return; } @ 1.1 log @Make this compile with gcc3. Should fix PR 24151. @ text @d1 1 a1 1 $NetBSD$ @