]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkbuilder-menus.c
filechooserbutton: Give proper names to the SELECT_FOLDER tests with cancelled dialog
[~andy/gtk] / gtk / gtkbuilder-menus.c
index 2bb03587d03ecee97e824a4eec2319c54517386f..dbc7bcb3229b7799d5b9b2a6e30227277ed9692f 100644 (file)
@@ -12,9 +12,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
- * USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  *
  * Author: Ryan Lortie <desrt@desrt.ca>
  */
@@ -247,7 +245,7 @@ gtk_builder_menu_end_element (GMarkupParseContext  *context,
       state->string = NULL;
 
       /* do the translation if necessary */
-      if (state->translatable && state->parser_data->domain)
+      if (state->translatable)
         {
           const gchar *translated;