LarsGit223 commented on this pull request.


> +                     wb_project_add_directory(project, dirname);
+                       sidebar_update(SIDEBAR_CONTEXT_DIRECTORY_ADDED, 
&context);
+                       g_free(dirname);
+               }
+       }
+}
+
+
+/* Handle popup menu item "Remove directory" */
+static void popup_menu_on_remove_directory(G_GNUC_UNUSED GtkMenuItem * 
menuitem, G_GNUC_UNUSED gpointer user_data)
+{
+       SIDEBAR_CONTEXT context;
+
+       if (sidebar_file_view_get_selected_context(&context)
+               &&
+               context.project != NULL && context.directory != NULL)

Adjusted. Logical operator and following conditions are now on one line.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/598#discussion_r134086608

Reply via email to