<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: 在GTK中，如果定时让程序去作某件事，使用g_timeout_add	</title>
	<atom:link href="https://www.coder4.com/archives/1049/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com/archives/1049</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Tue, 02 Jun 2015 19:19:29 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>
		By: vodka		</title>
		<link>https://www.coder4.com/archives/1049#comment-1304</link>

		<dc:creator><![CDATA[vodka]]></dc:creator>
		<pubDate>Tue, 02 Jun 2015 19:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.coder4.com/?p=1049#comment-1304</guid>

					<description><![CDATA[How to compille?

&#160;

I get two errors:

&#160;
&lt;pre class=&quot;lang:default decode:true &quot;&gt; gcc timer.c `pkg-config gtkmm-3.0 --cflags --libs` 
timer.c: In function ‘on_expose_event’:
timer.c:12:31: error: ‘GtkWidget’ has no member named ‘window’
   cr = gdk_cairo_create(widget-&#062;window);
                               ^
timer.c: In function ‘time_handler’:
timer.c:24:13: error: ‘GtkWidget’ has no member named ‘window’
   if (widget-&#062;window == NULL) return FALSE;
             ^
&lt;/pre&gt;
&#160;]]></description>
			<content:encoded><![CDATA[<p>How to compille?</p>
<p>&nbsp;</p>
<p>I get two errors:</p>
<p>&nbsp;</p>
<pre class="lang:default decode:true "> gcc timer.c `pkg-config gtkmm-3.0 --cflags --libs` 
timer.c: In function ‘on_expose_event’:
timer.c:12:31: error: ‘GtkWidget’ has no member named ‘window’
   cr = gdk_cairo_create(widget-&gt;window);
                               ^
timer.c: In function ‘time_handler’:
timer.c:24:13: error: ‘GtkWidget’ has no member named ‘window’
   if (widget-&gt;window == NULL) return FALSE;
             ^
</pre>
<p>&nbsp;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
