From: fredrik Date: Tue, 1 May 2007 00:06:55 +0000 (+0000) Subject: Use GINT_TO_POINTER. X-Git-Tag: 0.4~88 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=e5fc6b8cff14b7afe47072f7ccfb0798bd893a51 Use GINT_TO_POINTER. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@982 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/clients/gtk2/mainwnd.desc b/clients/gtk2/mainwnd.desc index 5261074..9111d4f 100644 --- a/clients/gtk2/mainwnd.desc +++ b/clients/gtk2/mainwnd.desc @@ -113,12 +113,12 @@ end :sw expand: TRUE fill: TRUE :treeview name: srchres var: y rules: TRUE searchcol: 3 sig(row-activated): cb_main_srchres_activate sig(popup-menu): cb_main_srpopup sig(button-release-event): cb_main_srpopup :tvcol title: "#" sortcol: 7 resizable: FALSE - $textrend func: hidezerofunc funcdata: "(gpointer)7" + $textrend func: hidezerofunc funcdata: "GINT_TO_POINTER(7)" end $tvcol title: "Peer name" text: 2 sortcol: 2 resizable: TRUE $tvcol title: "File name" text: 3 sortcol: 3 resizable: TRUE expander: y :tvcol title: "Size" sortcol: 4 resizable: TRUE - $textrend func: transnicebytefunc funcdata: "(gpointer)4" + $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(4)" end $tvcol title: "Slots" text: 5 sortcol: 5 resizable: TRUE :tvcol title: "Known speed" sortcol: 8 resizable: TRUE @@ -141,15 +141,15 @@ end end $tvcol title: "File Name" text: 5 :tvcol title: "Size" - $textrend func: transnicebytefunc funcdata: "(gpointer)6" + $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(6)" end :tvcol title: "Position" #ifdef ENABLE_GTK2PBAR $custrend newfunc: custom_cell_renderer_progress_new attr(percentage): 9 #else - $textrend func: percentagefunc funcdata: "(gpointer)9" expand: FALSE + $textrend func: percentagefunc funcdata: "GINT_TO_POINTER(9)" expand: FALSE #endif - $textrend func: transnicebytefunc funcdata: "(gpointer)7" + $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(7)" end :tvcol title: "Speed" $textrend func: transspeedinfo @@ -171,15 +171,15 @@ end end $tvcol title: "File Name" text: 5 :tvcol title: "Size" - $textrend func: transnicebytefunc funcdata: "(gpointer)6" + $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(6)" end :tvcol title: "Position" #ifdef ENABLE_GTK2PBAR $custrend newfunc: custom_cell_renderer_progress_new attr(percentage): 9 #else - $textrend func: percentagefunc funcdata: "(gpointer)9" expand: FALSE + $textrend func: percentagefunc funcdata: "GINT_TO_POINTER(9)" expand: FALSE #endif - $textrend func: transnicebytefunc funcdata: "(gpointer)7" + $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(7)" end :tvcol title: "Speed" $textrend func: transspeedinfo