Memyandi42 / gnome-menu-file-browser-applet

Automatically exported from code.google.com/p/gnome-menu-file-browser-applet
0 stars 0 forks source link

Dangerous call to gtk_builder_add_objects_from_file #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
  Hello.
  You are doing this:
    gchar *toplevel = "new_dir_dialog";
    gtk_builder_add_objects_from_file (builder, BUILDER_UI_PATH, &toplevel,
&error);

  But you should do instead:
    gchar *toplevel[] = {"new_dir_dialog", NULL};
    gtk_builder_add_objects_from_file (builder, BUILDER_UI_PATH, toplevel,
&error);
  Thanks!

Original issue reported on code.google.com by iba...@gmail.com on 20 Sep 2009 at 11:08

GoogleCodeExporter commented 9 years ago
Got it, thanks! Fix is in svn. Will close bug on next release.

Name please (for credits)!

Original comment by bertol...@gmail.com on 21 Sep 2009 at 4:07

GoogleCodeExporter commented 9 years ago
You are welcome!
Ivan Baldo is my name, my email is ibaldo@adinet.com.uy (JIC).

Original comment by iba...@gmail.com on 21 Sep 2009 at 5:47

GoogleCodeExporter commented 9 years ago
Thanks. Added.

Original comment by bertol...@gmail.com on 21 Sep 2009 at 5:51

GoogleCodeExporter commented 9 years ago

Original comment by bertol...@gmail.com on 25 Nov 2009 at 4:18

GoogleCodeExporter commented 9 years ago
Fixed in release 0.6.5. Closing issue.

Original comment by bertol...@gmail.com on 21 Dec 2009 at 5:47