comparison src/gui_gtk.c @ 2656:4549e0e7fbb6 v7.3.076

updated for version 7.3.076 Problem: Clang warnings for dead code. Solution: Remove it. (Carlo Teubner)
author Bram Moolenaar <bram@vim.org>
date Wed, 08 Dec 2010 13:11:21 +0100
parents b2789846ed39
children 951641b8784d
comparison
equal deleted inserted replaced
2655:d94c32250814 2656:4549e0e7fbb6
1796 int flags; 1796 int flags;
1797 char_u *find_text; 1797 char_u *find_text;
1798 char_u *repl_text; 1798 char_u *repl_text;
1799 gboolean direction_down; 1799 gboolean direction_down;
1800 SharedFindReplace *sfr; 1800 SharedFindReplace *sfr;
1801 int rc;
1802 1801
1803 flags = (int)(long)data; /* avoid a lint warning here */ 1802 flags = (int)(long)data; /* avoid a lint warning here */
1804 1803
1805 /* Get the search/replace strings from the dialog */ 1804 /* Get the search/replace strings from the dialog */
1806 if (flags == FRD_FINDNEXT) 1805 if (flags == FRD_FINDNEXT)
1822 if (GTK_TOGGLE_BUTTON(sfr->mcase)->active) 1821 if (GTK_TOGGLE_BUTTON(sfr->mcase)->active)
1823 flags |= FRD_MATCH_CASE; 1822 flags |= FRD_MATCH_CASE;
1824 1823
1825 repl_text = CONVERT_FROM_UTF8(repl_text); 1824 repl_text = CONVERT_FROM_UTF8(repl_text);
1826 find_text = CONVERT_FROM_UTF8(find_text); 1825 find_text = CONVERT_FROM_UTF8(find_text);
1827 rc = gui_do_findrepl(flags, find_text, repl_text, direction_down); 1826 gui_do_findrepl(flags, find_text, repl_text, direction_down);
1828 CONVERT_FROM_UTF8_FREE(repl_text); 1827 CONVERT_FROM_UTF8_FREE(repl_text);
1829 CONVERT_FROM_UTF8_FREE(find_text); 1828 CONVERT_FROM_UTF8_FREE(find_text);
1830 } 1829 }
1831 1830
1832 /* our usual callback function */ 1831 /* our usual callback function */