<br><br><div class="gmail_quote">On Jan 11, 2008 8:18 PM, Stew Benedict &lt;<a href="mailto:stewb@linux-foundation.org">stewb@linux-foundation.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c"><br><br></div></div>I don&#39;t recall seeing this particular case before. It may just be behavioral<br>differences with 2.4.x. The LSB spec and tests are based on 2.6, I<br>believe, and the navigator says these came in with LSB 
3.1.</blockquote><div>OK, but i encounter this failure in LSB 3.0 certification test selected from DTK manager drop-down list,<br>should this be&nbsp; evicted&nbsp; from&nbsp; LSB 3.0&nbsp; test as it is came in with LSB 3.1? <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Reference spec:<br><br><a href="http://www.gtk.org/api/2.6/gdk/gdk-General.html#gdk-get-program-class" target="_blank">http://www.gtk.org/api/2.6/gdk/gdk-General.html#gdk-get-program-class</a><br><br>gdk_get_program_class ()
<br><br>const char* gdk_get_program_class &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (void);<br><br>Gets the program class. Unless the program class has explicitly been set<br>with gdk_set_program_class() or with the --class commandline option, the<br>default value is the program name (determined with g_get_prgname()) with
<br>the first character converted to uppercase.<br><br>Returns: &nbsp; &nbsp; &nbsp; &nbsp;the program class.<br><br>g_get_prgname ()<br><br>gchar* &nbsp; &nbsp; &nbsp;g_get_prgname &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (void);<br><br>Gets the name of the program. This name should not be localized, contrast
<br>with g_get_application_name(). (If you are using GDK or GTK+ the program<br>name is set in gdk_init(), which is called by gtk_init(). The program name<br>is found by taking the last component of argv[0].)<br><br>Returns: &nbsp; &nbsp; &nbsp; &nbsp;the name of the program. The returned string
<br>belongs to GLib and must not be modified or freed.<br><br>I am able to duplicate the same failure on a system with<br>libgtk+2.0_0-2.2.4.<br><br>I looks like the test code manipulates argv[0] in the startup code:<br><br>
 &nbsp; &nbsp;argv = calloc(argc, &nbsp;sizeof(char*));<br> &nbsp; &nbsp;argv[0] = (char*)strdup(&quot;&quot;);<br> &nbsp; &nbsp;gtk_init(&amp;argc, &amp;argv);<br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I&#39;m not really seeing where the &quot;.&quot; comes in, nor am I finding a gtk+-2.4<br>API reference to see if the behavior was defined differently. Links I do<br>find that claim to point to 2.0 end up at the unstable API reference.
<br><font color="#888888"><br>--<br>Stew Benedict<br>The Linux Foundation</font></blockquote><div>Thanks <br>Andrius <br></div></div><br>